[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: syntax for ?= in sh-mode
From: |
Daniel Pfeiffer |
Subject: |
Re: syntax for ?= in sh-mode |
Date: |
Fri, 17 Sep 2004 23:20:15 +0200 |
Saluton, Moin,
Richard Stallman <address@hidden> skribis:
> I could however do the five syntax changes I proposed, if nobody
> objects.
>
> $ word -> symbol
> & symbol -> punctuation
> * symbol -> punctuation
> = symbol -> punctuation
> @ punctuation -> symbol
> | symbol -> punctuation
>
> I am not sure * should be changed. It might be useful
> that C-M-f would skip over something including *.
> The other 4 seem good.
Then ? should also be symbol, since the two serve a very similar function.
These fairly simple categorizations remind me: I often find myself wishing
there were several levels of glueiness when double clicking. Maybe by adding
a digit to the syntax specifier, and everything that has the same digit or
lower, would be selected together. E.g. in Shell:
var=server:/path/to/some_file.txt
_ or . select some_file.txt
/ selects /path/to/some_file.txt
: selects server:/path/to/some_file.txt
and = selects all.
namespace::class::name_of_method
_ selects name_of_method
: selects all
Sort of like operator precedence in programming languages -- it would be
fantastic if that could work too, surely not syntax based, but with a clever
parser:
a = (b + c) * 5 - 3;
+ selects b + c
* selects (b + c) * 5
- selects (b + c) * 5 - 3
and = selects all.
coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer
--
lerne / learn / apprends / lär dig / ucz się Esperanto:
http://lernu.net/
- Re: syntax for ?= in sh-mode, Daniel Pfeiffer, 2004/09/10
- Re: syntax for ?= in sh-mode, Dan Nicolaescu, 2004/09/10
- Re: syntax for ?= in sh-mode, Daniel Pfeiffer, 2004/09/12
- Re: syntax for ?= in sh-mode, Richard Stallman, 2004/09/13
- Re: syntax for ?= in sh-mode, Daniel Pfeiffer, 2004/09/15
- Message not available
- Re: syntax for ?= in sh-mode,
Daniel Pfeiffer <=
- Re: syntax for ?= in sh-mode, Stefan, 2004/09/18
- Re: syntax for ?= in sh-mode, Richard Stallman, 2004/09/19
- Re: syntax for ?= in sh-mode, Stefan, 2004/09/20
- Re: syntax for ?= in sh-mode, Richard Stallman, 2004/09/21
- Re: syntax for ?= in sh-mode, Stefan Monnier, 2004/09/21
- Re: syntax for ?= in sh-mode, Miles Bader, 2004/09/21
- Re: syntax for ?= in sh-mode, Stefan Monnier, 2004/09/21
- Re: syntax for ?= in sh-mode, Richard Stallman, 2004/09/22
- Re: syntax for ?= in sh-mode, Stefan Monnier, 2004/09/22
- Re: syntax for ?= in sh-mode, Richard Stallman, 2004/09/24