unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Lars Magne Ingebrigtsen'" <larsi@gnus.org>
Cc: 3395@debbugs.gnu.org
Subject: bug#3395: 23.0.94; Remove colon after option etc. name
Date: Mon, 11 Jul 2011 10:19:23 -0700	[thread overview]
Message-ID: <03186A7D9C1242F28620E550234CAB3E@us.oracle.com> (raw)
In-Reply-To: <m3d3hg695a.fsf@quimbies.gnus.org>

> If these functions pick up the symbol as intended, I don't 
> see what the problem is.

Right, you do not see.

> > The buffer syntax should be that of Emacs Lisp.
> 
> It's not an Emacs Lisp buffer.  It's a text buffer that may have some
> Emacs Lisp symbols in it.

True.  If you can make all of the Lisp symbols in the buffer have Lisp syntax,
without making the rest of the buffer have Lisp syntax, then fine.

> > Arbitrary functions that pick up (Lisp) symbol names should and will
> > then pick up a `:' as part of a symbol name.
> 
> The arbitrary functions should use `symbol-at-point' or the like.

Then they aren't arbitrary.  Why argue about that?

A function that picks up a Lisp symbol name will & should pick up `:' as part of
that name, provided the buffer syntax is `emacs-lisp-mode-syntax-table'.

And yes, that's true also of `symbol-at-point', BTW.  In an Emacs-Lisp mode
buffer, type `foo:bar', put the cursor on the `:', and do `M-:
(symbol-at-point)'.  The value is `foo:bar'.
 
> > Because of this, we should remove this colon, which is anyway
> > unnecessary.
> 
> It looks nice.  I'm closing this bug report.

It hampers usability.  And it adds nothing to readability in that position.  It
is followed by a menu button or an editable field (gray background).






      reply	other threads:[~2011-07-11 17:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26 23:38 bug#3395: 23.0.94; Remove colon after option etc. name Drew Adams
2009-05-26 23:54 ` Drew Adams
2009-05-28 15:15 ` martin rudalics
2009-05-28 15:34   ` Drew Adams
2009-05-28 15:43     ` martin rudalics
2009-05-28 16:08       ` Drew Adams
2009-05-28 17:11         ` martin rudalics
2009-05-28 18:24           ` Drew Adams
2009-05-28 20:40             ` martin rudalics
2009-05-28 20:57               ` Drew Adams
2011-07-11 16:23 ` Lars Magne Ingebrigtsen
2011-07-11 16:53   ` Drew Adams
2011-07-11 17:04     ` Lars Magne Ingebrigtsen
2011-07-11 17:19       ` Drew Adams [this message]

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=03186A7D9C1242F28620E550234CAB3E@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=3395@debbugs.gnu.org \
    --cc=larsi@gnus.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).