From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jul 2012 20:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12107@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134376661216289 (code B ref -1); Tue, 31 Jul 2012 20:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jul 2012 20:30:12 +0000 Received: from localhost ([127.0.0.1]:53144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwJ51-0004Ee-8C for submit@debbugs.gnu.org; Tue, 31 Jul 2012 16:30:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51191) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwJ4z-0004EX-1P for submit@debbugs.gnu.org; Tue, 31 Jul 2012 16:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwIxr-0004T6-AS for submit@debbugs.gnu.org; Tue, 31 Jul 2012 16:22:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:55023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwIxr-0004T0-6j for submit@debbugs.gnu.org; Tue, 31 Jul 2012 16:22:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwIxq-0001nm-7h for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 16:22:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwIxp-0004S8-5E for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 16:22:46 -0400 Received: from mail-gh0-f169.google.com ([209.85.160.169]:59492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwIxp-0004Rw-0s for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 16:22:45 -0400 Received: by ghrr18 with SMTP id r18so7583345ghr.0 for ; Tue, 31 Jul 2012 13:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kmfiQXTyNNThB8Xh/SLtNI12Oa/v/4vdAtaj/u778jI=; b=hEzHu4CBJORl3TqKeRQKRoHA1mN5IlBZsPplG11NcX/R9FAX1IdkWrxuKxboquMtel yWQUOK9HRCdh7dAfKwSkIAchk6v5Xwc7hSHrjr7sSdDp2JVluM7xlkHKSIdtHClGEmEF 1e3rDqReDnDIGZv105vcNIXRaW3/gq1ZYmv3R7iMmLpKRtz9wdzH28RMSGuD4RZpLzg0 hfuKGOgHIe1JSw4naXJKYFsPaOCle/+fDvsEs68aOUh/DWVejMH4xhseFNVnrD5ddlz2 wGSE8BxGGtqITRkaJNfOAoeI7oUcxdE3nvMzdgJg/xoY8PVRPIlKtPdGO7AIXzzGt9QF 9TsA== MIME-Version: 1.0 Received: by 10.60.0.161 with SMTP id 1mr24945465oef.63.1343766164303; Tue, 31 Jul 2012 13:22:44 -0700 (PDT) Received: by 10.60.172.11 with HTTP; Tue, 31 Jul 2012 13:22:44 -0700 (PDT) Date: Tue, 31 Jul 2012 22:22:44 +0200 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Severity: wishlist Hello, I have a bookmark for each manual I'm reading in info. I like to give the bookmark the same name as the corresponding manual (e.g. "elisp" or "eintr"). So, when I want to update my bookmark position, I type "C-x r m", and when I'm asked for the bookmark name, I type "M-n", expecting that emacs fills in the name of the manual, but it writes the name of the info node instead. A second "M-n" doesn't brings me more candidates. Therefore, I request that the name of the info manual be included in the list of candidates used by M-n, in addition to the name of the node. (Regarding the order of the candidates, I'd like the name of the manual to be the first, but this is more subjective. I'll be content even if that entry is the second one) TIA. In GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601) of 2012-07-30 on DANI-PC Bzr revision: 109302 eggert@cs.ucla.edu-20120730185642-m4h1ztzpv3379wpu Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -I../../libs/libiconv-1.14-2-mingw32-dev/include -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2 -I../../libs/giflib-4.1.4-1/include -I../../emacs/libs/gnutls-3.0.16/include -I../../libs/jpeg-6b-4/include -I../../libs/libpng-1.4.10 -I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src -I../../libs/tiff-3.8.2-1/include -I../../libs/zlib-1.2.6' -- Dani Moncayo From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Aug 2012 00:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dani Moncayo Cc: 12107@debbugs.gnu.org Received: via spool by 12107-submit@debbugs.gnu.org id=B12107.13437810854696 (code B ref 12107); Wed, 01 Aug 2012 00:32:02 +0000 Received: (at 12107) by debbugs.gnu.org; 1 Aug 2012 00:31:25 +0000 Received: from localhost ([127.0.0.1]:53424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwMqS-0001Dc-9D for submit@debbugs.gnu.org; Tue, 31 Jul 2012 20:31:25 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:36128 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwMqP-0001DS-RZ for 12107@debbugs.gnu.org; Tue, 31 Jul 2012 20:31:22 -0400 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 9D146451CAAD; Tue, 31 Jul 2012 17:23:58 -0700 (PDT) From: Juri Linkov Organization: JURTA References: Date: Wed, 01 Aug 2012 03:12:44 +0300 In-Reply-To: (Dani Moncayo's message of "Tue, 31 Jul 2012 22:22:44 +0200") Message-ID: <87ipd38tc7.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Therefore, I request that the name of the info manual be included in > the list of candidates used by M-n, in addition to the name of the > node. Completely agree with you. The standard Info node name is what you see in the modeline and also by typing `w' (`Info-copy-current-node-name'). So it should be used in bookmarks as well: === modified file 'lisp/info.el' --- lisp/info.el 2012-07-17 16:53:39 +0000 +++ lisp/info.el 2012-08-01 00:12:40 +0000 @@ -5025,7 +5025,10 @@ (declare-function bookmark-get-bookmark- (defun Info-bookmark-make-record () "This implements the `bookmark-make-record-function' type (which see) for Info nodes." - `(,Info-current-node + `(,(if (stringp Info-current-file) + (concat "(" (file-name-nondirectory Info-current-file) ") " + Info-current-node) + Info-current-node) ,@(bookmark-make-record-default 'no-file) (filename . ,Info-current-file) (info-node . ,Info-current-node) From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Aug 2012 01:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 12107@debbugs.gnu.org Received: via spool by 12107-submit@debbugs.gnu.org id=B12107.13437838098668 (code B ref 12107); Wed, 01 Aug 2012 01:17:02 +0000 Received: (at 12107) by debbugs.gnu.org; 1 Aug 2012 01:16:49 +0000 Received: from localhost ([127.0.0.1]:53485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwNYO-0002Fj-K9 for submit@debbugs.gnu.org; Tue, 31 Jul 2012 21:16:49 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:65052) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwNYN-0002Fa-4e for 12107@debbugs.gnu.org; Tue, 31 Jul 2012 21:16:47 -0400 Received: by obbwc20 with SMTP id wc20so11279554obb.3 for <12107@debbugs.gnu.org>; Tue, 31 Jul 2012 18:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TcupcOEVKpd8LOMV6S9BWi7LNQilgHeRM+Td6s9w1gc=; b=F6sxkM1Z74dQ3LQX+4k3FNN4ZSeRac5dPK1c3hQwZeyz91Apyo0hoO6zmmxdHQHnWL 0Hb2DPn0aHDD8HsUJ1f5J2LvZm/taOu5wih0UfakSZHZvAcHvwhalizIKmaunjoT2pS4 7j1u9XxXOgp9RDycT2l5jA4WFXPDFQxgN3W2O2Thw4+hqR3CbV9EyWb3a2JC9MbXz3T1 XKzWt8ePvg61z1Q99RWunbxo1pLWgljRP3GGsvsGjOcYTT82x2ItU5dSI/2+8ilLaMj/ 17AJk5wc+8gree08JFvNu3YiKziK2vMi+/Ge2lJ/rZydLv52xNl1/xRilXJRgpVjwq4X sbzw== MIME-Version: 1.0 Received: by 10.182.98.108 with SMTP id eh12mr26361410obb.6.1343783364310; Tue, 31 Jul 2012 18:09:24 -0700 (PDT) Received: by 10.60.172.11 with HTTP; Tue, 31 Jul 2012 18:09:24 -0700 (PDT) In-Reply-To: <87ipd38tc7.fsf@mail.jurta.org> References: <87ipd38tc7.fsf@mail.jurta.org> Date: Wed, 1 Aug 2012 03:09:24 +0200 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) >> Therefore, I request that the name of the info manual be included in >> the list of candidates used by M-n, in addition to the name of the >> node. > > Completely agree with you. The standard Info node name is what you see > in the modeline and also by typing `w' (`Info-copy-current-node-name'). > So it should be used in bookmarks as well: Thank you. Of course I support the change you've posted. But my problem was another (probably I didn't explained it well enough). I'll give an example: If I am in info node "(emacs) Mark" and type "C-x r m M-n", I'd like to see "emacs" (i.e. the name of the info _manual_ alone) in the minibuffer. This completion candidate is useful in situations where an user is reading a manual from the beginning, and wants to keep a bookmark of the last position read. In this case, the user wants to name the bookmark after the manual, not after any of its nodes. Thus, summing up: 1. Currently there is only one completion candidate: the name of the node. As you've pointed out, it would be better to use the complete node name instead, which includes the name of the manual (e.g. "(emacs) Mark"). 2. Additionally, I'd like to have another (different) completion candidate, consisting of the name of the manual alone (e.g. "emacs"), for the reason explained above. -- Dani Moncayo From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Aug 2012 08:43:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dani Moncayo Cc: 12107@debbugs.gnu.org Received: via spool by 12107-submit@debbugs.gnu.org id=B12107.134381054014572 (code B ref 12107); Wed, 01 Aug 2012 08:43:03 +0000 Received: (at 12107) by debbugs.gnu.org; 1 Aug 2012 08:42:20 +0000 Received: from localhost ([127.0.0.1]:53960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwUVW-0003mx-Ab for submit@debbugs.gnu.org; Wed, 01 Aug 2012 04:42:20 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:47580 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwUVU-0003mo-2t for 12107@debbugs.gnu.org; Wed, 01 Aug 2012 04:42:17 -0400 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id D681D451CB31; Wed, 1 Aug 2012 01:34:50 -0700 (PDT) From: Juri Linkov Organization: JURTA References: <87ipd38tc7.fsf@mail.jurta.org> Date: Wed, 01 Aug 2012 11:19:35 +0300 In-Reply-To: (Dani Moncayo's message of "Wed, 1 Aug 2012 03:09:24 +0200") Message-ID: <87vch3xbf4.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > 2. Additionally, I'd like to have another (different) completion > candidate, consisting of the name of the manual alone (e.g. "emacs"), > for the reason explained above. Multiple values for bookmark names are not supported by `bookmark-make-record'. But fortunately, with complete node names like "(emacs) Mark" you can delete part of the name that you don't need (e.g. "Mark"). Deleting part of the name is always easier than typing a missing part. From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Aug 2012 09:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 12107@debbugs.gnu.org Received: via spool by 12107-submit@debbugs.gnu.org id=B12107.134381301218260 (code B ref 12107); Wed, 01 Aug 2012 09:24:01 +0000 Received: (at 12107) by debbugs.gnu.org; 1 Aug 2012 09:23:32 +0000 Received: from localhost ([127.0.0.1]:54043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwV9O-0004kS-Vu for submit@debbugs.gnu.org; Wed, 01 Aug 2012 05:23:31 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:37119) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwV9N-0004kL-66 for 12107@debbugs.gnu.org; Wed, 01 Aug 2012 05:23:30 -0400 Received: by obbwc20 with SMTP id wc20so11801443obb.3 for <12107@debbugs.gnu.org>; Wed, 01 Aug 2012 02:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rob8nPe/eOOkQfTNNajGzJ4xyi5RALKNZZOa0b5Ki8Y=; b=pU28V4fF/cpQGcJmZgw0i6GGrESe4T4dkEwbmSRWR7yBgliv/rJcaG7Mh/LQkGLMJz iwxAf+c+0N+UKW2/x5v5tvcmhHD87tbFdPdDGnqyfPBacEhI5y9CE3GEqSuepHLLxP1C /GNrNYx5szZjcqVqaGcLdSozxYsMn76ay3x1LJNm4wa/+PZhrvGn61QZ56BqgODXmfh6 iWTPZDfGusP5LuQH6lNtQGK3NQ5Mx/0qy4GbYrKyRPv85QUklIJr3aACRPRd4wm3Vj4Z ziTMdlwhYjEgRTAug+ojRB/TLgBTJDQjRUou1EylYFywDBHqbdGog6jSFtRHJXrP3Gsx 1D7g== MIME-Version: 1.0 Received: by 10.60.13.201 with SMTP id j9mr27554836oec.51.1343812564640; Wed, 01 Aug 2012 02:16:04 -0700 (PDT) Received: by 10.60.172.11 with HTTP; Wed, 1 Aug 2012 02:16:04 -0700 (PDT) In-Reply-To: <87vch3xbf4.fsf@mail.jurta.org> References: <87ipd38tc7.fsf@mail.jurta.org> <87vch3xbf4.fsf@mail.jurta.org> Date: Wed, 1 Aug 2012 11:16:04 +0200 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) >> 2. Additionally, I'd like to have another (different) completion >> candidate, consisting of the name of the manual alone (e.g. "emacs"), >> for the reason explained above. > > Multiple values for bookmark names are not supported > by `bookmark-make-record'. But fortunately, with > complete node names like "(emacs) Mark" you can delete > part of the name that you don't need (e.g. "Mark"). > Deleting part of the name is always easier > than typing a missing part. Mmmm, I'm not sure what you mean by "multiples values for bookmark names". The emacs manual says this in "(emacs) Minibuffer History": If you type `M-n' in the minibuffer when there are no later entries in the minibuffer history (e.g., if you haven't previously typed `M-p'), Emacs tries fetching from a list of default arguments: values that you are likely to enter. You can think of this as moving through the "future history" list. So, what I am requesting is just a new entry in that list of default arguments. In the case at hand, that list currently has only one entry: the name of the node. I'm missing a second entry (accessible by typing a second M-n) with just the name of the manual. As I said, in some cases this second entry may be the name that the user is looking for. -- Dani Moncayo From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Aug 2012 20:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 12107@debbugs.gnu.org, Dani Moncayo Received: via spool by 12107-submit@debbugs.gnu.org id=B12107.134385380017382 (code B ref 12107); Wed, 01 Aug 2012 20:44:02 +0000 Received: (at 12107) by debbugs.gnu.org; 1 Aug 2012 20:43:20 +0000 Received: from localhost ([127.0.0.1]:55349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwflH-0004WI-MV for submit@debbugs.gnu.org; Wed, 01 Aug 2012 16:43:20 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:41992) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwflE-0004WB-SZ for 12107@debbugs.gnu.org; Wed, 01 Aug 2012 16:43:17 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q71KZlL5009499; Wed, 1 Aug 2012 16:35:48 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id D40A6AE2A6; Wed, 1 Aug 2012 16:35:46 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87ipd38tc7.fsf@mail.jurta.org> <87vch3xbf4.fsf@mail.jurta.org> Date: Wed, 01 Aug 2012 16:35:46 -0400 In-Reply-To: <87vch3xbf4.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 01 Aug 2012 11:19:35 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4297=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4297> : streams <793239> : uri <1181212> X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > Multiple values for bookmark names are not supported > by `bookmark-make-record'. Then let's change that. Stefan From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Aug 2012 23:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12107@debbugs.gnu.org, Dani Moncayo Received: via spool by 12107-submit@debbugs.gnu.org id=B12107.134386341331257 (code B ref 12107); Wed, 01 Aug 2012 23:24:03 +0000 Received: (at 12107) by debbugs.gnu.org; 1 Aug 2012 23:23:33 +0000 Received: from localhost ([127.0.0.1]:55527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwiGK-000885-MK for submit@debbugs.gnu.org; Wed, 01 Aug 2012 19:23:32 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:59022 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwiGI-00087s-55 for 12107@debbugs.gnu.org; Wed, 01 Aug 2012 19:23:31 -0400 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 11D95451CBA6; Wed, 1 Aug 2012 16:16:00 -0700 (PDT) From: Juri Linkov Organization: JURTA References: <87ipd38tc7.fsf@mail.jurta.org> <87vch3xbf4.fsf@mail.jurta.org> Date: Thu, 02 Aug 2012 02:04:48 +0300 In-Reply-To: (Stefan Monnier's message of "Wed, 01 Aug 2012 16:35:46 -0400") Message-ID: <87obmudymn.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> Multiple values for bookmark names are not supported >> by `bookmark-make-record'. > > Then let's change that. Due to the extensible design of bookmark records, it's easy to implement this: === modified file 'lisp/bookmark.el' --- lisp/bookmark.el 2012-07-10 11:51:54 +0000 +++ lisp/bookmark.el 2012-08-01 23:02:43 +0000 @@ -772,7 +772,14 @@ (defun bookmark-set (&optional name no-o (interactive (list nil current-prefix-arg)) (unwind-protect (let* ((record (bookmark-make-record)) - (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)) (bookmark-maybe-load-default-file) ;; Don't set `bookmark-yank-point' and `bookmark-current-buffer' @@ -788,7 +795,7 @@ (defun bookmark-set (&optional name no-o (format "Set bookmark (%s): " default) nil bookmark-minibuffer-read-name-map - nil nil default)))) + nil nil defaults)))) (and (string-equal str "") (setq str default)) (bookmark-store str (cdr record) no-overwrite) === modified file 'lisp/info.el' --- lisp/info.el 2012-07-10 11:51:54 +0000 +++ lisp/info.el 2012-08-01 23:02:53 +0000 @@ -5020,11 +5025,18 @@ (declare-function bookmark-get-bookmark- (defun Info-bookmark-make-record () "This implements the `bookmark-make-record-function' type (which see) for Info nodes." - `(,Info-current-node - ,@(bookmark-make-record-default 'no-file) - (filename . ,Info-current-file) - (info-node . ,Info-current-node) - (handler . Info-bookmark-jump))) + (let* ((file (and (stringp Info-current-file) + (file-name-nondirectory Info-current-file))) + (bookmark-name (if file + (concat "(" file ") " Info-current-node) + Info-current-node)) + (defaults (delq nil (list bookmark-name file Info-current-node)))) + `(,bookmark-name + ,@(bookmark-make-record-default 'no-file) + (filename . ,Info-current-file) + (info-node . ,Info-current-node) + (handler . Info-bookmark-jump) + (defaults . ,defaults)))) ;;;###autoload (defun Info-bookmark-jump (bmk) From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Aug 2012 00:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 12107@debbugs.gnu.org, Dani Moncayo Received: via spool by 12107-submit@debbugs.gnu.org id=B12107.13438666573386 (code B ref 12107); Thu, 02 Aug 2012 00:18:02 +0000 Received: (at 12107) by debbugs.gnu.org; 2 Aug 2012 00:17:37 +0000 Received: from localhost ([127.0.0.1]:55580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Swj6e-0000sY-Ov for submit@debbugs.gnu.org; Wed, 01 Aug 2012 20:17:37 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:56105) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Swj6c-0000sR-Jo for 12107@debbugs.gnu.org; Wed, 01 Aug 2012 20:17:35 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q720A5gh020627; Wed, 1 Aug 2012 20:10:06 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id D028CAE2A6; Wed, 1 Aug 2012 20:10:04 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87ipd38tc7.fsf@mail.jurta.org> <87vch3xbf4.fsf@mail.jurta.org> <87obmudymn.fsf@mail.jurta.org> Date: Wed, 01 Aug 2012 20:10:04 -0400 In-Reply-To: <87obmudymn.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 02 Aug 2012 02:04:48 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4297=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4297> : streams <793307> : uri <1181367> X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > - (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 From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Aug 2012 08:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12107@debbugs.gnu.org, Dani Moncayo Received: via spool by 12107-submit@debbugs.gnu.org id=B12107.134389583112615 (code B ref 12107); Thu, 02 Aug 2012 08:24:01 +0000 Received: (at 12107) by debbugs.gnu.org; 2 Aug 2012 08:23:51 +0000 Received: from localhost ([127.0.0.1]:56044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwqhD-0003HQ-8q for submit@debbugs.gnu.org; Thu, 02 Aug 2012 04:23:51 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:48176 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwqhA-0003HI-HU for 12107@debbugs.gnu.org; Thu, 02 Aug 2012 04:23:49 -0400 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 47B68451CB52; Thu, 2 Aug 2012 01:16:17 -0700 (PDT) From: Juri Linkov Organization: JURTA References: <87ipd38tc7.fsf@mail.jurta.org> <87vch3xbf4.fsf@mail.jurta.org> <87obmudymn.fsf@mail.jurta.org> Date: Thu, 02 Aug 2012 11:03:06 +0300 In-Reply-To: (Stefan Monnier's message of "Wed, 01 Aug 2012 20:10:04 -0400") Message-ID: <87vch190ph.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Is there a good reason why we can't use a list in (car record) and avoid > using a new `defaults' field? Using a list in (car record) means changing the format of the bookmark record that will require adding special casing in other packages that use it. OTOH, adding a new `defaults' field is harmless and doesn't change the format. > If so, please add a comment explaining it. Will do. From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Aug 2012 00:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12107@debbugs.gnu.org, Dani Moncayo Received: via spool by 12107-submit@debbugs.gnu.org id=B12107.13441256502317 (code B ref 12107); Sun, 05 Aug 2012 00:15:01 +0000 Received: (at 12107) by debbugs.gnu.org; 5 Aug 2012 00:14:10 +0000 Received: from localhost ([127.0.0.1]:34158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxoTx-0000bJ-T9 for submit@debbugs.gnu.org; Sat, 04 Aug 2012 20:14:10 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:49140 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxoTv-0000bC-2j for 12107@debbugs.gnu.org; Sat, 04 Aug 2012 20:14:08 -0400 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id CE9A5451CB26; Sat, 4 Aug 2012 17:06:20 -0700 (PDT) From: Juri Linkov Organization: JURTA References: <87ipd38tc7.fsf@mail.jurta.org> <87vch3xbf4.fsf@mail.jurta.org> <87obmudymn.fsf@mail.jurta.org> Date: Sun, 05 Aug 2012 03:01:39 +0300 In-Reply-To: (Stefan Monnier's message of "Wed, 01 Aug 2012 20:10:04 -0400") Message-ID: <87obmqb40s.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > 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. BTW, I noticed your comment about removing `bookmark-insert-current-bookmark', so it could be replaced with a list of the same default values for M-n (this patch is an addition to the previous patch): === modified file 'lisp/bookmark.el' --- lisp/bookmark.el 2012-08-04 23:12:29 +0000 +++ lisp/bookmark.el 2012-08-04 23:54:51 +0000 @@ -473,6 +473,12 @@ (defvar bookmark-make-record-function 'b (defun bookmark-make-record () "Return a new bookmark record (NAME . ALIST) for the current location." (let ((record (funcall bookmark-make-record-function))) + ;; Set up defaults. + (bookmark-prop-set + record 'defaults + (delq nil (delete-dups (append (bookmark-prop-get record 'defaults) + (list bookmark-current-bookmark + (bookmark-buffer-name)))))) ;; Set up default name. (if (stringp (car record)) ;; The function already provided a default name. @@ -738,10 +744,6 @@ (defvar bookmark-minibuffer-read-name-ma (let ((map (make-sparse-keymap))) (set-keymap-parent map minibuffer-local-map) (define-key map "\C-w" 'bookmark-yank-word) - ;; This C-u binding might not be very useful any more now that we - ;; provide access to the default via the standard M-n binding. - ;; Maybe we should just remove it? --Stef-08 - (define-key map "\C-u" 'bookmark-insert-current-bookmark) map)) ;;;###autoload @@ -900,19 +902,6 @@ (defun bookmark-edit-annotation (bookmar (bookmark-edit-annotation-mode bookmark-name-or-record)) -(defun bookmark-insert-current-bookmark () - "Insert into the bookmark name currently being set the value of -`bookmark-current-bookmark' in `bookmark-current-buffer', defaulting -to the buffer's file name if `bookmark-current-bookmark' is nil." - (interactive) - (let ((str - (with-current-buffer bookmark-current-buffer - (or bookmark-current-bookmark - (bookmark-buffer-name))))) - (insert str))) - - (defun bookmark-buffer-name () "Return the name of the current buffer in a form usable as a bookmark name. If the buffer is associated with a file or directory, use that name." From unknown Sat Sep 06 02:03:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dani Moncayo Subject: bug#12107: closed (Re: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set") Message-ID: References: <87y5lpepkp.fsf@mail.jurta.org> X-Gnu-PR-Message: they-closed 12107 X-Gnu-PR-Package: emacs Reply-To: 12107@debbugs.gnu.org Date: Wed, 08 Aug 2012 08:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1344416342-27763-1" This is a multi-part message in MIME format... ------------=_1344416342-27763-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12107: 24.1.50; In Info mode, add the name of the manual as completion can= didate for "bookmark-set" which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12107@debbugs.gnu.org. --=20 12107: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12107 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1344416342-27763-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12107-done) by debbugs.gnu.org; 8 Aug 2012 08:58:38 +0000 Received: from localhost ([127.0.0.1]:41061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sz269-0007DA-KZ for submit@debbugs.gnu.org; Wed, 08 Aug 2012 04:58:38 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:42557 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sz266-0007D2-Kg for 12107-done@debbugs.gnu.org; Wed, 08 Aug 2012 04:58:35 -0400 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 0B25E451CA77; Wed, 8 Aug 2012 01:50:29 -0700 (PDT) From: Juri Linkov To: Stefan Monnier Subject: Re: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Organization: JURTA References: <87ipd38tc7.fsf@mail.jurta.org> <87vch3xbf4.fsf@mail.jurta.org> <87obmudymn.fsf@mail.jurta.org> Date: Wed, 08 Aug 2012 11:49:10 +0300 In-Reply-To: (Stefan Monnier's message of "Wed, 01 Aug 2012 20:10:04 -0400") Message-ID: <87y5lpepkp.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12107-done Cc: 12107-done@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > If so, please add a comment explaining it. Installed with an explanatory comment. ------------=_1344416342-27763-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 Jul 2012 20:30:12 +0000 Received: from localhost ([127.0.0.1]:53144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwJ51-0004Ee-8C for submit@debbugs.gnu.org; Tue, 31 Jul 2012 16:30:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51191) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwJ4z-0004EX-1P for submit@debbugs.gnu.org; Tue, 31 Jul 2012 16:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwIxr-0004T6-AS for submit@debbugs.gnu.org; Tue, 31 Jul 2012 16:22:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:55023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwIxr-0004T0-6j for submit@debbugs.gnu.org; Tue, 31 Jul 2012 16:22:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwIxq-0001nm-7h for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 16:22:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwIxp-0004S8-5E for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 16:22:46 -0400 Received: from mail-gh0-f169.google.com ([209.85.160.169]:59492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwIxp-0004Rw-0s for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 16:22:45 -0400 Received: by ghrr18 with SMTP id r18so7583345ghr.0 for ; Tue, 31 Jul 2012 13:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kmfiQXTyNNThB8Xh/SLtNI12Oa/v/4vdAtaj/u778jI=; b=hEzHu4CBJORl3TqKeRQKRoHA1mN5IlBZsPplG11NcX/R9FAX1IdkWrxuKxboquMtel yWQUOK9HRCdh7dAfKwSkIAchk6v5Xwc7hSHrjr7sSdDp2JVluM7xlkHKSIdtHClGEmEF 1e3rDqReDnDIGZv105vcNIXRaW3/gq1ZYmv3R7iMmLpKRtz9wdzH28RMSGuD4RZpLzg0 hfuKGOgHIe1JSw4naXJKYFsPaOCle/+fDvsEs68aOUh/DWVejMH4xhseFNVnrD5ddlz2 wGSE8BxGGtqITRkaJNfOAoeI7oUcxdE3nvMzdgJg/xoY8PVRPIlKtPdGO7AIXzzGt9QF 9TsA== MIME-Version: 1.0 Received: by 10.60.0.161 with SMTP id 1mr24945465oef.63.1343766164303; Tue, 31 Jul 2012 13:22:44 -0700 (PDT) Received: by 10.60.172.11 with HTTP; Tue, 31 Jul 2012 13:22:44 -0700 (PDT) Date: Tue, 31 Jul 2012 22:22:44 +0200 Message-ID: Subject: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" From: Dani Moncayo To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Severity: wishlist Hello, I have a bookmark for each manual I'm reading in info. I like to give the bookmark the same name as the corresponding manual (e.g. "elisp" or "eintr"). So, when I want to update my bookmark position, I type "C-x r m", and when I'm asked for the bookmark name, I type "M-n", expecting that emacs fills in the name of the manual, but it writes the name of the info node instead. A second "M-n" doesn't brings me more candidates. Therefore, I request that the name of the info manual be included in the list of candidates used by M-n, in addition to the name of the node. (Regarding the order of the candidates, I'd like the name of the manual to be the first, but this is more subjective. I'll be content even if that entry is the second one) TIA. In GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601) of 2012-07-30 on DANI-PC Bzr revision: 109302 eggert@cs.ucla.edu-20120730185642-m4h1ztzpv3379wpu Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -I../../libs/libiconv-1.14-2-mingw32-dev/include -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2 -I../../libs/giflib-4.1.4-1/include -I../../emacs/libs/gnutls-3.0.16/include -I../../libs/jpeg-6b-4/include -I../../libs/libpng-1.4.10 -I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src -I../../libs/tiff-3.8.2-1/include -I../../libs/zlib-1.2.6' -- Dani Moncayo ------------=_1344416342-27763-1--