unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Abbrev should preserve case
@ 2007-06-20 17:48 Andreas Röhler
  2007-06-20 22:18 ` Glenn Morris
  0 siblings, 1 reply; 42+ messages in thread
From: Andreas Röhler @ 2007-06-20 17:48 UTC (permalink / raw)
  To: emacs-devel


Info emacs,  Node: Expanding Abbrevs,  says:

...

,----
|    Abbrev expansion preserves case; thus, `foo' expands into `find
| outer otter'; `Foo' into `Find outer otter', and `FOO' into `FIND OUTER
| OTTER'
`----

From there users may guess, it would be possible to
define `foo', `Foo' and `FOO' as abbrev names likewise
and altogether.

Which don't work, because `add-abbrev' in line 289
abbrev.el down-cases every input, thus only down-cased
names are registered.

,----
| (define-abbrev table (downcase name) exp))))
`----


Exists a reason for that?

I would much appreciate, if I could mix freely up- and
downcase chars. This would extend the range of possible
abbrev-names considerably.

The latter is of interest, if you don't use abbrev the
common way, but for whole phrases, defined by
machine. 

If no one objects, I would try to change that.



Andreas Roehler

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

end of thread, other threads:[~2007-11-05  8:47 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-20 17:48 Abbrev should preserve case Andreas Röhler
2007-06-20 22:18 ` Glenn Morris
2007-06-21  3:47   ` Davis Herring
2007-06-21  4:14     ` Stefan Monnier
2007-06-21  7:10       ` Andreas Röhler
2007-06-21  8:01         ` Stefan Monnier
2007-06-21  9:00           ` Andreas Röhler
2007-06-21  7:00     ` Glenn Morris
2007-06-21 17:32   ` Richard Stallman
2007-06-21 19:02     ` Stefan Monnier
2007-06-22 16:25       ` Richard Stallman
2007-06-22 17:51         ` Stefan Monnier
2007-06-22 21:53           ` Richard Stallman
2007-10-10 21:14             ` Abbrev tables in elisp with some extra stuff (was: Abbrev should preserve case) Stefan Monnier
2007-10-11 19:57               ` Andreas Röhler
2007-10-12 15:59               ` Richard Stallman
2007-10-12 21:26                 ` Abbrev tables in elisp with some extra stuff Stefan Monnier
2007-10-13  6:41                   ` Richard Stallman
2007-10-14 17:45                     ` Andreas Röhler
2007-10-15 16:04                       ` Richard Stallman
2007-10-15 18:04                         ` Andreas Röhler
2007-10-16  4:10                           ` Richard Stallman
2007-10-16 20:26                   ` Stefan Monnier
2007-10-17  5:03                     ` Richard Stallman
2007-10-17 14:10                     ` Richard Stallman
2007-10-17 20:48                     ` Richard Stallman
2007-10-24  2:21                       ` Stefan Monnier
2007-10-25  2:10                         ` Richard Stallman
2007-10-26  5:44                           ` Testing new abbrev tables in elisp Stefan Monnier
2007-10-26 19:13                             ` Andreas Röhler
2007-10-26 21:38                               ` Stefan Monnier
2007-10-28 14:13                                 ` Andreas Röhler
2007-10-28 21:03                                   ` Stefan Monnier
2007-10-30 15:10                                     ` Andreas Röhler
2007-10-31  7:47                                       ` Richard Stallman
2007-11-03 20:29                                         ` Stephen J. Turnbull
2007-11-04  0:11                                           ` Richard Stallman
2007-11-04  2:42                                             ` Stephen J. Turnbull
2007-11-04 21:06                                               ` Andreas Röhler
2007-11-05  8:47                                                 ` Richard Stallman
2007-10-31 16:09                                     ` Juri Linkov
2007-10-31 17:44                                       ` Stefan Monnier

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).