unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Richard Stallman <rms@gnu.org>, emacs-devel@gnu.org
Subject: Re: lexicons
Date: Thu, 01 Aug 2013 23:57:24 +0200	[thread overview]
Message-ID: <m34nb9nkfv.fsf@stories.gnus.org> (raw)
In-Reply-To: <jwviozpf5pm.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 01 Aug 2013 17:46:54 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I think the prefix concept may have the same problem.
>
> Yes, it's inherent to the idea of letting people use shorter names for
> "local" entities, I think.  So you're basically arguing against providing
> any kind of namespace/module/package support.

I think packages are useful, but they also have their problems.

When writing Common Lisp, I'm glad that I don't have to read and write
foo:bar constantly, but I'm annoyed that I can't call my logging
function in foo for `log', because that's a reserved word from the CL
package.  (Your namespace suggestion doesn't have this problem, though.)

When writing Emacs Lisp, I'm annoyed that I'm typing `gnus-summary-foo'
all the time, but I'm happy that grep reliably finds all code that calls
`gnus-summary-foo', and that when I'm reading code, I know immediately
what function that's being called, context-free.

So...  er...  yes.  I think I am arguing against any kind of namespace
support.  >"?  

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php



  reply	other threads:[~2013-08-01 21:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-30 21:55 lexicons Richard Stallman
2013-07-31  3:47 ` lexicons Stefan Monnier
2013-07-31 10:27   ` lexicons Lars Magne Ingebrigtsen
2013-08-01 21:46     ` lexicons Stefan Monnier
2013-08-01 21:57       ` Lars Magne Ingebrigtsen [this message]
2013-08-02  4:53         ` lexicons Teemu Likonen
2013-08-02  5:00         ` lexicons Lars Brinkhoff
2013-08-02 12:25           ` lexicons Lars Magne Ingebrigtsen
2013-08-02  6:41         ` lexicons Bastien
2013-08-02 13:50           ` lexicons Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m34nb9nkfv.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).