emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorth


From: Richard Stallman
Subject: Re: Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorthands have landed on master)
Date: Sun, 03 Oct 2021 20:12:50 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > The name the user sees is "s-foo".
  > >
  > > The name known to Emacs is "string-library-foo" (or whatever).
  > >
  > > The user types "C-h o s-foo RET" and Emacs says "no match".

  > That's only when the user types that in the minibuffer and doesn't
  > associate in any way to the buffer where you set up that particular
  > shorthand (remember, shorthands aren't global: that's the point).  Much
  > like if I type 'import foo as bar' in my Python of JavaScript program
  > and then go search for 'bar' I don't get the results for 'foo'.

This is the intentional behavior: to avoid putting `s-foo' in the
global Emacs Lisp namespace.  It will be available in those programs
which do (require 's).

Other programs will be able to use `s-foo' for some other meaning
and there will be no conflict.
-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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