GNU bug report logs - #12107
24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set"

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Tue, 31 Jul 2012 20:31:01 UTC

Severity: wishlist

Found in version 24.1.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 12107 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Juri Linkov <juri <at> jurta.org>
Cc: 12107 <at> debbugs.gnu.org, Dani Moncayo <dmoncayo <at> gmail.com>
Subject: Re: bug#12107: 24.1.50;
	In Info mode, add the name of the manual as completion candidate for
	"bookmark-set"
Date: Wed, 01 Aug 2012 20:10:04 -0400
> -              (default (car record)))
> +              (defaults (bookmark-prop-get record 'defaults))
> +              (default (if (consp defaults) (car defaults) defaults)))
> +
> +         (if defaults
> +             ;; Don't store default values in the record.
> +             (setq record (assq-delete-all 'defaults record))
> +           ;; When no defaults in the record, use its first element.
> +           (setq defaults (car record) default defaults))
 
Is there a good reason why we can't use a list in (car record) and avoid
using a new `defaults' field?
If so, please add a comment explaining it.


        Stefan




This bug report was last modified 13 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.