Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #836 > unrolled thread

shortcut for path

Started byJim Nagel <jimnewsm10d@abbeypress.co.uk>
First post2011-10-04 18:40 +0100
Last post2011-10-07 00:51 +0100
Articles 18 — 8 participants

Back to article view | Back to comp.sys.acorn.programmer


Contents

  shortcut for path Jim Nagel <jimnewsm10d@abbeypress.co.uk> - 2011-10-04 18:40 +0100
    Re: shortcut for path Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-04 20:31 +0200
      Re: shortcut for path Jim Nagel <jimnewsm10d@abbeypress.co.uk> - 2011-10-05 00:28 +0100
        Re: shortcut for path Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-10-05 09:48 +0100
          Re: shortcut for path Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-05 12:12 +0200
            Re: shortcut for path Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-10-05 11:43 +0100
            Re: shortcut for path Jim Nagel <jimnewsm10d@abbeypress.co.uk> - 2011-10-05 15:42 +0100
              Re: shortcut for path Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> - 2011-10-05 16:22 +0100
                Re: shortcut for path "Ste (news)" <steve@revi11.plus.com> - 2011-10-05 18:21 +0100
              Re: shortcut for path Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-06 08:19 +0200
    Re: shortcut for path Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-10-04 20:05 +0100
    Re: shortcut for path Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-05 05:57 +0200
      Re: shortcut for path Jim Nagel <jimnewsm10d@abbeypress.co.uk> - 2011-10-05 15:33 +0100
        Re: shortcut for path Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-06 08:21 +0200
    Re: shortcut for path Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-10-05 21:23 +0100
      Re: shortcut for path Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-06 08:23 +0200
        Re: shortcut for path Steve Fryatt <news@stevefryatt.org.uk> - 2011-10-06 20:36 +0100
        Re: shortcut for path Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-10-07 00:51 +0100

#836 — shortcut for path

FromJim Nagel <jimnewsm10d@abbeypress.co.uk>
Date2011-10-04 18:40 +0100
Subjectshortcut for path
Message-ID<e95b001d52.jim@nails.abbeypress.net>
I often want to fire a copy of an email quickly into a certain folder, 
without going through all the palaver of navigating to it.  
(Especially, since I use !Workspace, if it's on a different desktop!)

I want to just type something like "here:<name>" into the Save box.

What command do I need to execute to set up, say,
     news:
to be a short form for
     $.Archivemag.content.!arc2302.news.   ?

Thanks.


-- 
Jim Nagel                        www.archivemag.co.uk
>> "from" address is genuine but will change.  website has current one.
See you at London show?  www.riscoslondonshow.co.uk  Oct 29 Saturday

[toc] | [next] | [standalone]


#839

FromMartin Wuerthner <spamtrap@mw-software.com>
Date2011-10-04 20:31 +0200
Message-ID<7606051d52.martin@bach.planiverse.com>
In reply to#836
In message <e95b001d52.jim@nails.abbeypress.net>
          Jim Nagel <jimnewsm10d@abbeypress.co.uk> wrote:

> I often want to fire a copy of an email quickly into a certain folder,
> without going through all the palaver of navigating to it.
> (Especially, since I use !Workspace, if it's on a different desktop!)

> I want to just type something like "here:<name>" into the Save box.

> What command do I need to execute to set up, say,
>      news:
> to be a short form for
>      $.Archivemag.content.!arc2302.news.   ?

*Set News$Path $.Archivemag.content.!arc2302.news.
*Set News$Write $.Archivemag.content.!arc2302.news
(the latter is needed on Select, note: no trailing dot!)

-- 
Martin
---------------------------------------------------------------------
Martin Wuerthner         MW Software      http://www.mw-software.com/
        RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------

[toc] | [prev] | [next] | [standalone]


#841

FromJim Nagel <jimnewsm10d@abbeypress.co.uk>
Date2011-10-05 00:28 +0100
Message-ID<b948201d52.jim@nails.abbeypress.net>
In reply to#839
Martin Wuerthner  wrote on 4 Oct:

>> I want to just type something like "here:<name>" into the Save box.

>> What command do I need to execute to set up, say,
>>      news:
>> to be a short form for
>>      $.Archivemag.content.!arc2302.news.   ?

> *Set News$Path $.Archivemag.content.!arc2302.news.
> *Set News$Write $.Archivemag.content.!arc2302.news

Thanks, Martin and Chris.

Unfortunately, when I get the Save box for the file I want to save and 
type news:filename I get the message "To save, drag the icon to a 
directory display."

Yet   *show news:   does show that the "set" commands have worked.

I was expecting the same sort of behaviour you get when you type 
$.filename -- ie, a full pathname -- into the Save box.


-- 
Jim Nagel                        www.archivemag.co.uk
>> "from" address is genuine but will change.  website has current one.
See you at London show?  www.riscoslondonshow.co.uk  Oct 29 Saturday

[toc] | [prev] | [next] | [standalone]


#843

FromChris Johnson <chrisjohnson+news@spamcop.net>
Date2011-10-05 09:48 +0100
Message-ID<521d53820fchrisjohnson+news@spamcop.net>
In reply to#841
In article <b948201d52.jim@nails.abbeypress.net>,
   Jim Nagel <jimnewsm10d@abbeypress.co.uk> wrote:
> Unfortunately, when I get the Save box for the file I want to save
> and type news:filename I get the message "To save, drag the icon
> to a directory display."

Ahhh - that suggests that the save code is not expanding the sys
variable.

-- 
Chris Johnson

[toc] | [prev] | [next] | [standalone]


#844

FromMartin Wuerthner <spamtrap@mw-software.com>
Date2011-10-05 12:12 +0200
Message-ID<50405b1d52.martin@bach.planiverse.com>
In reply to#843
In message <521d53820fchrisjohnson+news@spamcop.net>
          Chris Johnson <chrisjohnson+news@spamcop.net> wrote:

> In article <b948201d52.jim@nails.abbeypress.net>,
>    Jim Nagel <jimnewsm10d@abbeypress.co.uk> wrote:
>> Unfortunately, when I get the Save box for the file I want to save
>> and type news:filename I get the message "To save, drag the icon
>> to a directory display."

> Ahhh - that suggests that the save code is not expanding the sys
> variable.

No. There is no need for the save code to expand anything.

What this suggests is that the save code follows the RISC OS user 
interface guidelines, which say: "If there is no full stop in the user 
supplied save path, then the application should refuse to save to it 
and tell the user: To save, drag the icon to a directory display". 
That rule is supposed to detect non-absolute paths because they would 
cause the file to be saved to a non-obvious location. What the author 
of that guideline did not realize is that you can enter an absolute 
path by starting it with a path: reference.

Some applications (e.g., Zap) check for colons as well and allow you 
to save to such a path, but most still follow that guideline to the 
letter (e.g., Edit, but also EasiWriter and ArtWorks).

To work around that you can use <News$Write>.filename, which does have 
a full stop and is therefore accepted. Of course, that is not quite as 
simple and elegant as the original method.

-- 
Martin
---------------------------------------------------------------------
Martin Wuerthner         MW Software      http://www.mw-software.com/
        RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------

[toc] | [prev] | [next] | [standalone]


#845

FromChris Johnson <chrisjohnson+news@spamcop.net>
Date2011-10-05 11:43 +0100
Message-ID<521d5e061cchrisjohnson+news@spamcop.net>
In reply to#844
In article <50405b1d52.martin@bach.planiverse.com>,
   Martin Wuerthner <spamtrap@mw-software.com> wrote:
> Some applications (e.g., Zap) check for colons as well and allow
> you to save to such a path, but most still follow that guideline
> to the letter (e.g., Edit, but also EasiWriter and ArtWorks).

Thanks Martin for reminding me about that. I now recall I did build
such checks into some of my earlier software, but all my more recent
stuff has been toolbox based. I guess I ought to check and see what
my later stuff actually does!

-- 
Chris Johnson

[toc] | [prev] | [next] | [standalone]


#847

FromJim Nagel <jimnewsm10d@abbeypress.co.uk>
Date2011-10-05 15:42 +0100
Message-ID<ecf2731d52.jim@nails.abbeypress.net>
In reply to#844
Martin Wuerthner  wrote on 5 Oct:
> Some applications (e.g., Zap) check for colons as well and allow you
> to save to such a path, but most still follow that guideline to the
> letter (e.g., Edit, but also EasiWriter and ArtWorks).

And MPro, which is my starting point in the present exercise.

> To work around that you can use <News$Write>.filename, which does have
> a full stop and is therefore accepted. Of course, that is not quite as
> simple and elegant as the original method.

I discovered I can add "$." and save to   news:$.filename   -- which 
is almost elegant enuf, anyway quicker than going to a different 
Workspace "desktop" and back, or navigating through a chain of 
directories.


-- 
Jim Nagel                        www.archivemag.co.uk
>> "from" address is genuine but will change.  website has current one.
See you at London show?  www.riscoslondonshow.co.uk  Oct 29 Saturday

[toc] | [prev] | [next] | [standalone]


#848

FromAlan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk>
Date2011-10-05 16:22 +0100
Message-ID<gemini.lslmq300g3ei5018s.spamhater@keepyourfilthyspamtoyourself.co.uk>
In reply to#847
Jim Nagel <jimnewsm10d@abbeypress.co.uk> wrote:

> I discovered I can add "$." and save to   news:$.filename   -- which 
> is almost elegant enuf, anyway quicker than going to a different 
> Workspace "desktop" and back, or navigating through a chain of 
> directories.

If you're using the same directory all the time to save to, what you need is
a little app that puts a shortcut on the icon bar for that directory and you
then just drop each file onto it.

Alan

-- 
RISC OS - you know it makes cents

[toc] | [prev] | [next] | [standalone]


#849

From"Ste (news)" <steve@revi11.plus.com>
Date2011-10-05 18:21 +0100
Message-ID<521d8275cbsteve@revi11.plus.com>
In reply to#848
In article
<gemini.lslmq300g3ei5018s.spamhater@keepyourfilthyspamtoyourself.co.uk>,
   Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> wrote:
> If you're using the same directory all the time to save to, what you need
> is a little app that puts a shortcut on the icon bar for that directory
> and you then just drop each file onto it.

A bit like *AddTinyDir but much more useful (IMHO).

Ta,

Steve

-- 
Steve Revill @ Home
Note: All opinions expressed herein are my own.

[toc] | [prev] | [next] | [standalone]


#852

FromRick Murray <heyrickmail-usenet@yahoo.co.uk>
Date2011-10-06 08:19 +0200
Message-ID<4e8d486e$0$18776$ba4acef3@reader.news.orange.fr>
In reply to#847
On 05/10/2011 16:42, Jim Nagel wrote:

> I discovered I can add "$." and save to   news:$.filename

Ah, I see. FileSwitch turns the ...$Path into a pseudo filing system 
(hence the colon suffix) and you're requesting to look at the root of 
this. Hehe... Clever. Or freaky. Maybe both.


Best wishes,

Rick.

[toc] | [prev] | [next] | [standalone]


#840

FromChris Johnson <chrisjohnson+news@spamcop.net>
Date2011-10-04 20:05 +0100
Message-ID<521d083544chrisjohnson+news@spamcop.net>
In reply to#836
In article <e95b001d52.jim@nails.abbeypress.net>,
   Jim Nagel <jimnewsm10d@abbeypress.co.uk> wrote:

> What command do I need to execute to set up, say,
>      news:
> to be a short form for
>      $.Archivemag.content.!arc2302.news.   ?

Set news$Path $.Archivemag.content.!arc2302.news.

Then news:filename will do the necessary.

-- 
Chris Johnson

[toc] | [prev] | [next] | [standalone]


#842

FromRick Murray <heyrickmail-usenet@yahoo.co.uk>
Date2011-10-05 05:57 +0200
Message-ID<4e8bd5ad$0$18819$ba4acef3@reader.news.orange.fr>
In reply to#836
On 04/10/2011 19:40, Jim Nagel wrote:

> What command do I need to execute to set up, say,
>       news:
> to be a short form for
>       $.Archivemag.content.!arc2302.news.   ?

%Set News$Path $.ArchiveMag.content.!arc2303.news.

The ...$Path can be used as the colon-suffix path you describe.
Note the trailing space. Described, briefly, in PRM 2-19.


Best wishes,

Rick.

[toc] | [prev] | [next] | [standalone]


#846

FromJim Nagel <jimnewsm10d@abbeypress.co.uk>
Date2011-10-05 15:33 +0100
Message-ID<f915731d52.jim@nails.abbeypress.net>
In reply to#842
Rick Murray  wrote on 5 Oct:
> %Set News$Path $.ArchiveMag.content.!arc2303.news.
> Note the trailing space. Described, briefly, in PRM 2-19.

Thanks.  Did you mean trailing dot rather than space?
I don't have the PRMs, unforch.

-- 
Jim Nagel                        www.archivemag.co.uk
>> "from" address is genuine but will change.  website has current one.
See you at London show?  www.riscoslondonshow.co.uk  Oct 29 Saturday

[toc] | [prev] | [next] | [standalone]


#853

FromRick Murray <heyrickmail-usenet@yahoo.co.uk>
Date2011-10-06 08:21 +0200
Message-ID<4e8d48ed$0$18776$ba4acef3@reader.news.orange.fr>
In reply to#846
On 05/10/2011 16:33, Jim Nagel wrote:

> Thanks.  Did you mean trailing dot rather than space?

Er... yeah. <sheepish> This is what happens when I post after getting 
back from work.


> I don't have the PRMs, unforch.

PDF files available - just Google RISC OS PRM.


Best wishes,

Rick.

[toc] | [prev] | [next] | [standalone]


#851

FromJeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk>
Date2011-10-05 21:23 +0100
Message-ID<mpro.lsm0no0052hh302ik@wingsandbeaks.org.uk.invalid>
In reply to#836
Jim Nagel <jimnewsm10d@abbeypress.co.uk> wrote:

> I often want to fire a copy of an email quickly into a certain folder,

Why?  Why not just keep it in a folder/group/box or whatever your email
client calls its internal collections of mails?

-- 
Jeremy C B Nicoll - my opinions are my own.

Email sent to my from-address will be deleted. Instead, please reply
to newsreplyaaa@wingsandbeaks.org.uk replacing "aaa" by "284".  

[toc] | [prev] | [next] | [standalone]


#854

FromRick Murray <heyrickmail-usenet@yahoo.co.uk>
Date2011-10-06 08:23 +0200
Message-ID<4e8d4972$0$18776$ba4acef3@reader.news.orange.fr>
In reply to#851
On 05/10/2011 22:23, Jeremy Nicoll - news posts wrote:

>> I often want to fire a copy of an email quickly into a certain folder,
> Why?  Why not just keep it in a folder/group/box or whatever your email
> client calls its internal collections of mails?

Because in cases like mailing lists, some messages are important enough 
to want to keep, while the rest can be either auto-expired, or archived 
out of the main mailbox (and possibly stuck on a CD-R someplace).


Best wishes,

Rick.

[toc] | [prev] | [next] | [standalone]


#855

FromSteve Fryatt <news@stevefryatt.org.uk>
Date2011-10-06 20:36 +0100
Message-ID<mpro.lsnt5902cqu8w01rx.news@stevefryatt.org.uk>
In reply to#854
On 6 Oct, Rick Murray wrote in message
    <4e8d4972$0$18776$ba4acef3@reader.news.orange.fr>:

> On 05/10/2011 22:23, Jeremy Nicoll - news posts wrote:
>
> > Why?  Why not just keep it in a folder/group/box or whatever your email
> > client calls its internal collections of mails?
> 
> Because in cases like mailing lists, some messages are important enough to
> want to keep, while the rest can be either auto-expired, or archived out
> of the main mailbox (and possibly stuck on a CD-R someplace).

Yes, but in MPro, if you copy the message into another, unexpired, folder,
it won't get expired.  And you can read it easily in a familiar environment.

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/

[toc] | [prev] | [next] | [standalone]


#857

FromJeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk>
Date2011-10-07 00:51 +0100
Message-ID<mpro.lso4y200at7kn01ts@wingsandbeaks.org.uk.invalid>
In reply to#854
Rick Murray <heyrickmail-usenet@yahoo.co.uk> wrote:

> On 05/10/2011 22:23, Jeremy Nicoll - news posts wrote:
> 
> >> I often want to fire a copy of an email quickly into a certain folder,
> > Why?  Why not just keep it in a folder/group/box or whatever your email
> > client calls its internal collections of mails?
> 
> Because in cases like mailing lists, some messages are important enough 
> to want to keep, while the rest can be either auto-expired, or archived 
> out of the main mailbox (and possibly stuck on a CD-R someplace).

Nothing has ever been auto-expired on any email/news client I've used. 

Keeping stuff inside the client means being able to take advantage of the
fact that it's decently indexed and easily sorted etc in place.  Moving it
to an external file to some extent makes it immediately harder to find
again.  Of course you can organise those files in some way, but why not just
organise the files/groups/whatever in your email/news client instead?    

Using auto-expiry as a justification is crazy, you might as well try to
convince me that once stored elsewhere it could never be deleted by
accident.  Wherever you put it there'd need to be a decent backup strategy.

-- 
Jeremy C B Nicoll - my opinions are my own.

Email sent to my from-address will be deleted. Instead, please reply
to newsreplyaaa@wingsandbeaks.org.uk replacing "aaa" by "284".  

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.acorn.programmer


csiph-web