all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Karl Fogel <kfogel@red-bean.com>
Subject: bug#4230: marked as done (23.1; bookmark-handle-bookmark: bind `use-file-dialog' to nil to relocate)
Date: Mon, 05 Oct 2009 02:45:06 +0000	[thread overview]
Message-ID: <handler.4230.D4230.125471038017566.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 95DE0F7C73CE4F63AAE1BEA19D46D5AA@us.oracle.com

[-- Attachment #1: Type: text/plain, Size: 929 bytes --]

Your message dated Sun, 04 Oct 2009 22:39:38 -0400
with message-id <87k4zamumt.fsf@red-bean.com>
and subject line Fixed "bookmark-handle-bookmark: bind `use-file-dialog' to nil to relocate"
has caused the Emacs bug report #4230,
regarding 23.1; bookmark-handle-bookmark: bind `use-file-dialog' to nil to relocate
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4230: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4230
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 4114 bytes --]

From: "Drew Adams" <drew.adams@oracle.com>
To: <bug-gnu-emacs@gnu.org>
Subject: 23.1; bookmark-handle-bookmark: bind `use-file-dialog' to nil to relocate
Date: Fri, 21 Aug 2009 15:45:19 -0700
Message-ID: <95DE0F7C73CE4F63AAE1BEA19D46D5AA@us.oracle.com>

From the definition of bookmark-handle-bookmark:
 
(let ((file (bookmark-get-filename bookmark)))
         (when file        ;Don't know how to relocate if there's no `file'.
           (setq file (expand-file-name file))
           (ding)
           (if (y-or-n-p (concat (file-name-nondirectory file)
                                 " nonexistent.  Relocate \""
                                 bookmark
                                 "\"? "))
               ...
 
A bookmark can be to a directory or a file. AFAICT, at least on
Windows, you cannot choose a directory using a file selection box - it
insists on a file. Or perhaps there is another kind of file selection
box that allows this, but it is not being used by Emacs.
 
So `use-file-dialog' should be bound to nil around the call to
`y-or-n-p'.
 
I had a bookmark to a directory that needed to be relocated. I tried
to jump to the bookmark by clicking it with the mouse in the list from
`C-x r l'. Because I used the mouse, I got the file dialog box. I
could not find a way to specify a new directory - choosing a directory
just opens the dialog box to the files in the directory, waiting for
you to pick one.
 
 
 

In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
 




[-- Attachment #3: Type: message/rfc822, Size: 1724 bytes --]

From: Karl Fogel <kfogel@red-bean.com>
To: 4230-close@emacsbugs.donarmstrong.com
Subject: Fixed "bookmark-handle-bookmark: bind `use-file-dialog' to nil to relocate"
Date: Sun, 04 Oct 2009 22:39:38 -0400
Message-ID: <87k4zamumt.fsf@red-bean.com>

fixed
--

Thanks for the report.  Fix committed; please test this, as I do not
have a Windows system myself to test it on.

  $ cvs ci -F msg lisp/bookmark.el lisp/ChangeLog
  /sources/emacs/emacs/lisp/bookmark.el,v  <--  lisp/bookmark.el
  new revision: 1.130; previous revision: 1.129
  /sources/emacs/emacs/lisp/ChangeLog,v  <--  lisp/ChangeLog
  new revision: 1.16356; previous revision: 1.16355
  Mailing notification to emacs-diffs@gnu.org... sent.
  $ 

      reply	other threads:[~2009-10-05  2:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87k4zamumt.fsf@red-bean.com>
2009-08-21 22:45 ` bug#4230: 23.1; bookmark-handle-bookmark: bind `use-file-dialog' to nil to relocate Drew Adams
2009-10-05  2:45   ` Emacs bug Tracking System [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

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

  git send-email \
    --in-reply-to=handler.4230.D4230.125471038017566.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=kfogel@red-bean.com \
    /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.