all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Out-of-date completions for `read-buffer'
Date: Thu, 17 Aug 2006 11:18:34 -0400	[thread overview]
Message-ID: <E1GDjdi-0002n6-4c@fencepost.gnu.org> (raw)
In-Reply-To: <34189.128.165.123.18.1155761732.squirrel@webmail.lanl.gov> (herring@lanl.gov)

    Copying the alist for the call to Fcompleting_read (which is trivial to
    implement) would solve the reordering problems but not the ones involving
    creation/destruction; the real solution is to write a `complete-buffer'
    completion function that would re-consult the buffer list each time
    completion was needed.

    WDOT?  Is this worth fixing, and if so in which way?

I think it is worth fixing.  Copying the alist pairs as well as the
alist itself would be simple and avoid any danger of crashing.  It
would still "complete wrong" in the case of creating or killing
buffers, but that seems like a minor issue.  So I think that solution
would be fine.  However, the `complete-buffer' solution you proposed
would be fine too.

Would you like to fix it one way or the other?

  reply	other threads:[~2006-08-17 15:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 20:55 Out-of-date completions for `read-buffer' Stuart D. Herring
2006-08-17 15:18 ` Richard Stallman [this message]
2006-08-17 19:51   ` Stuart D. Herring
2006-08-18 15:46     ` Richard Stallman
2006-08-28 20:25       ` Stuart D. Herring
2006-08-30 10:38         ` Eli Zaretskii
2006-08-30 15:43           ` Stuart D. Herring
2006-08-30 17:03             ` Eli Zaretskii
2006-08-30 17:12               ` Stuart D. Herring
2006-09-02 11:23         ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=E1GDjdi-0002n6-4c@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.