unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23891: define-abbrevs - property args not accessible
@ 2016-07-04  8:12 Andreas Röhler
  2016-07-04  8:44 ` Andreas Röhler
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Röhler @ 2016-07-04  8:12 UTC (permalink / raw)
  To: 23891

`define-abbrevs' comes with an option to use case-sensitivabbreviations. 
Nice, thanks.

However don't see a way to specify this '(:case-fixed t)froma command.

Neither `add-global-abbrev' nor `add-mode-abbrev' offer a slot.
What about having customizable vars for this, which are taken when set?

;;;;;;

GNU Emacs 25.0.95.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2016-06-12






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#23891: define-abbrevs - property args not accessible
  2016-07-04  8:12 bug#23891: define-abbrevs - property args not accessible Andreas Röhler
@ 2016-07-04  8:44 ` Andreas Röhler
  2016-07-05  1:56   ` npostavs
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Röhler @ 2016-07-04  8:44 UTC (permalink / raw)
  To: 23891

Please read `define-abbrev', singular.


On 04.07.2016 10:12, Andreas Röhler wrote:
> `define-abbrevs' comes with an option to use 
> case-sensitivabbreviations. Nice, thanks.
>
> However don't see a way to specify this '(:case-fixed t)froma command.
>
> Neither `add-global-abbrev' nor `add-mode-abbrev' offer a slot.
> What about having customizable vars for this, which are taken when set?
>
> ;;;;;;
>
> GNU Emacs 25.0.95.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 
> 2016-06-12
>
>
>
>







^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#23891: define-abbrevs - property args not accessible
  2016-07-04  8:44 ` Andreas Röhler
@ 2016-07-05  1:56   ` npostavs
  2016-07-05  7:18     ` Andreas Röhler
  2016-07-06  7:55     ` Andreas Röhler
  0 siblings, 2 replies; 6+ messages in thread
From: npostavs @ 2016-07-05  1:56 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 23891

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

>> `define-abbrev' comes with an option to use
>> case-sensitive abbreviations. Nice, thanks.
>>
>> However don't see a way to specify this '(:case-fixed t)from a command.
>>
>> Neither `add-global-abbrev' nor `add-mode-abbrev' offer a slot.
>> What about having customizable vars for this, which are taken when set?

It seems `edit-abbrevs' also lacks support for properties: an abbrev
defined with :case-fixed via `define-abbrev' does not show up with an
indicator in the *Abbrevs* buffer, and when saving the propery is
removed.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#23891: define-abbrevs - property args not accessible
  2016-07-05  1:56   ` npostavs
@ 2016-07-05  7:18     ` Andreas Röhler
  2016-07-06  7:55     ` Andreas Röhler
  1 sibling, 0 replies; 6+ messages in thread
From: Andreas Röhler @ 2016-07-05  7:18 UTC (permalink / raw)
  To: npostavs; +Cc: 23891



On 05.07.2016 03:56, npostavs@users.sourceforge.net wrote:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>>> `define-abbrev' comes with an option to use
>>> case-sensitive abbreviations. Nice, thanks.
>>>
>>> However don't see a way to specify this '(:case-fixed t)from a command.
>>>
>>> Neither `add-global-abbrev' nor `add-mode-abbrev' offer a slot.
>>> What about having customizable vars for this, which are taken when set?
> It seems `edit-abbrevs' also lacks support for properties: an abbrev
> defined with :case-fixed via `define-abbrev' does not show up with an
> indicator in the *Abbrevs* buffer, and when saving the propery is
> removed.

Thanks for your care. Beside there was also slowness reported - and 
still experienced:

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14518#29





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#23891: define-abbrevs - property args not accessible
  2016-07-05  1:56   ` npostavs
  2016-07-05  7:18     ` Andreas Röhler
@ 2016-07-06  7:55     ` Andreas Röhler
  2016-07-06  8:24       ` Andreas Röhler
  1 sibling, 1 reply; 6+ messages in thread
From: Andreas Röhler @ 2016-07-06  7:55 UTC (permalink / raw)
  To: npostavs; +Cc: 23891



On 05.07.2016 03:56, npostavs@users.sourceforge.net wrote:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>>> `define-abbrev' comes with an option to use
>>> case-sensitive abbreviations. Nice, thanks.
>>>
>>> However don't see a way to specify this '(:case-fixed t)from a command.
>>>
>>> Neither `add-global-abbrev' nor `add-mode-abbrev' offer a slot.
>>> What about having customizable vars for this, which are taken when set?
> It seems `edit-abbrevs' also lacks support for properties: an abbrev
> defined with :case-fixed via `define-abbrev' does not show up with an
> indicator in the *Abbrevs* buffer, and when saving the propery is
> removed.

Here still an example how the matter showed up:

The abbrev-expansion by default works like this:

tlb -> the london bridge

tLB -> the London Bridge

The limitations are obvious: the abbreviation needs to represent any 
word of the expansion text. No way to define:

tLB -> Let's work that afternoon over the London Bridge.






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#23891: define-abbrevs - property args not accessible
  2016-07-06  7:55     ` Andreas Röhler
@ 2016-07-06  8:24       ` Andreas Röhler
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Röhler @ 2016-07-06  8:24 UTC (permalink / raw)
  To: 23891



On 06.07.2016 09:55, Andreas Röhler wrote:
>
> The limitations are obvious: the abbreviation needs to represent any 
> word of the expansion text. No way to define:
>
> tLB -> Let's work that afternoon over the London Bridge.
>
>
>
>

The latter should read

No way to define:

tLB -> Let's work that afternoon over the London Bridge.

and

tlb -> Something interesting too

in parallel





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-07-06  8:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-04  8:12 bug#23891: define-abbrevs - property args not accessible Andreas Röhler
2016-07-04  8:44 ` Andreas Röhler
2016-07-05  1:56   ` npostavs
2016-07-05  7:18     ` Andreas Röhler
2016-07-06  7:55     ` Andreas Röhler
2016-07-06  8:24       ` Andreas Röhler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).