emacs-pretest-bug
[Top][All Lists]
Advanced

[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, 10 Sep 2004 21:11:09 +0200

Saluton,

Dan Nicolaescu <address@hidden> skribis:

> Is there any reason that the syntax of ?= is symbol in sh-mode? 
> Can it be changed to punctuation (or something else)? 

I would assume so, but I am not the maintainer of sh-mode.  I don't think,
when I created this mode centuries ago, that I made it to be that way.  I
wonder if there was some reason for this change...

> This causes problem with dabbrev.
> 
> For example, given the following file:
> 
> #!/bin/bash
> MY_LONG_VAR=234
> 
> ANOTHER_VAR=${MY_LO
> 
> If the point is at the end (after _LO) and M-/ is pressed the
> completion will be "${MY_LONG_VAR=234", which is not very helpful. 
> Changing the syntax of ?= to be "." makes M-/ complete ${MY_LONG_VAR,
> which is nicer. 

Fully agreed!

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]