unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14733: 23.4; dired-jump
@ 2013-06-27 16:58 Emanuel Berg
  2013-06-27 19:13 ` Dmitry Gutov
  0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2013-06-27 16:58 UTC (permalink / raw)
  To: 14733

From gnu.emacs.help

> Or: `M-x dired-jump'.

I tried that in Gnus (from the buffer displaying your message) and
I ended up in ~/.w3m - I get that not all buffers have files
associated with them, but perhaps this should be communicated
somehow instead of that kind of arbitrary (?) behaviour. ...

(After that.)

> ... The doc string of `dired-jump' says what happens if "in a
> file" or "in Dired", but not what happens otherwise.

> Looking at the `dired-jump' code (from a recent 24 Dev
> snapshot), it seems that `default-directory' is used for the
> otherwise case. ...


In GNU Emacs 23.4.1 (i486-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-09 on murphy, modified by Debian
configured using `configure  '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.4/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DDEBIAN -O2' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  gpm-mouse-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  visual-line-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-k C-k 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-k C-k C-n 
C-@ C-n C-n C-n C-n C-n C-e ESC q C-p C-p C-p C-p C-p 
C-a C-@ C-n C-n C-n C-n C-n C-e ESC ; > RET C-p C-p 
C-p C-p C-p C-a ESC q C-n C-n C-n ESC q C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-p C-p 
C-n C-n C-n C-p C-k C-k C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p RET RET C-p C-p C-n C-n C-f > > C-n C-n 
C-p C-p C-b C-b C-d C-d C-n C-n C-p C-p C-p C-p C-p 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-e RET RET ESC 
C-p C-p C-n C-n C-n C-n ( A f t e r SPC t h a t ) DEL 
. ) C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-a 
F r o m SPC g n u . e m a c s . h e l p C-a C-e C-a 
C-n C-n C-n C-n ESC q C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-@ C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n ESC w ESC x e n g RET a 
ESC x e m a c s - r e p o r t - b u g RET ESC DEL ESC 
DEL ESC DEL r e p o r t - e m a c s - b u g RET

Recent messages:
split-window-vertically: Window height 3 too small (after splitting)
(New file)
Mark set [8 times]
Undo!
Auto-saving...done
Mark set
Mark activated
Auto-saving...done
Mark set
Spell-checking u.txt using aspell with english dictionary...done

Load-path shadows:
/usr/share/emacs23/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs23/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs23/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs23/site-lisp/auctex/tex-fptex hides /usr/share/emacs/site-lisp/auctex/tex-fptex
/usr/share/emacs23/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs23/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs23/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview
/usr/share/emacs23/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs23/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs23/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs23/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs23/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs23/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs23/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs23/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs23/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs23/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs23/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs23/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs
/usr/share/emacs23/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs23/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs/site-lisp/haskell-mode/haskell-simple-indent hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-simple-indent
/usr/share/emacs/site-lisp/haskell-mode/haskell-c hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-c
/usr/share/emacs/site-lisp/haskell-mode/haskell-mode hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-mode
/usr/share/emacs/site-lisp/haskell-mode/inf-haskell hides /usr/share/emacs/23.4/site-lisp/haskell-mode/inf-haskell
/usr/share/emacs/site-lisp/haskell-mode/haskell-hugs hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-hugs
/usr/share/emacs/site-lisp/haskell-mode/haskell-doc hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-doc
/usr/share/emacs/site-lisp/haskell-mode/ghc-core hides /usr/share/emacs/23.4/site-lisp/haskell-mode/ghc-core
/usr/share/emacs/site-lisp/haskell-mode/haskell-decl-scan hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-decl-scan
/usr/share/emacs/site-lisp/haskell-mode/haskell-font-lock hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-font-lock
/usr/share/emacs/site-lisp/haskell-mode/haskell-indentation hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-indentation
/usr/share/emacs/site-lisp/haskell-mode/haskell-ghci hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-ghci
/usr/share/emacs/site-lisp/haskell-mode/haskell-indent hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-indent
/usr/share/emacs/site-lisp/haskell-mode/haskell-cabal hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-cabal
/usr/share/emacs/site-lisp/haskell-mode/haskell-site-file hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-site-file
/usr/share/emacs23/site-lisp/flim/hex-util hides /usr/share/emacs/23.4/lisp/hex-util
/usr/share/emacs23/site-lisp/flim/md4 hides /usr/share/emacs/23.4/lisp/md4
/usr/share/emacs23/site-lisp/flim/sha1 hides /usr/share/emacs/23.4/lisp/sha1
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.4/lisp/textmodes/flyspell
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.4/lisp/textmodes/ispell
/usr/share/emacs23/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.4/lisp/net/sasl-cram
/usr/share/emacs23/site-lisp/flim/ntlm hides /usr/share/emacs/23.4/lisp/net/ntlm
/usr/share/emacs23/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.4/lisp/net/hmac-md5
/usr/share/emacs23/site-lisp/flim/sasl hides /usr/share/emacs/23.4/lisp/net/sasl
/usr/share/emacs23/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.4/lisp/net/sasl-ntlm
/usr/share/emacs23/site-lisp/flim/hmac-def hides /usr/share/emacs/23.4/lisp/net/hmac-def
/usr/share/emacs23/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.4/lisp/net/sasl-digest

Features:
(shadow emacsbug perl-mode find-func help-mode view help-fns cl
cl-19 mailalias flow-fill rmailmm newcomment tabify ispell sort
gnus-cite ansi-color mail-extr gnus-async gnus-bcklg byte-opt
bytecomp byte-compile gnus-ml disp-table nndoc parse-time nnfolder
nndraft nnmh auth-source gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config
mm-view smime dig nntp gnus-cache gnus-sum nnoo gnus-group
gnus-undo nnmail mail-source format-spec gnus-start gnus-spec
gnus-int gnus-range gnus-win mule-util w3m-form w3m-bookmark
w3m-session ffap t-mouse gnus gnus-ems man assoc w3m browse-url
doc-view jka-compr image-mode timezone w3m-hist w3m-fb
bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc
w3m-util rmailsum rmail smtpmail cus-edit cus-start cus-load
message sendmail ecomplete rfc822 mml easymenu mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 sha1-el hex-util hashcash mail-utils
toggle-case paren edmacro kmacro dired regexp-opt w3m-load
erlang-start preview-latex tex-site auto-loads tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar
dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese
hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote
make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14733: 23.4; dired-jump
  2013-06-27 16:58 bug#14733: 23.4; dired-jump Emanuel Berg
@ 2013-06-27 19:13 ` Dmitry Gutov
  2013-06-27 22:23   ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Gutov @ 2013-06-27 19:13 UTC (permalink / raw)
  To: Emanuel Berg; +Cc: 14733

Emanuel Berg <emanuel.berg.8573@student.uu.se> writes:

> From gnu.emacs.help
>
>> Or: `M-x dired-jump'.
>
> I tried that in Gnus (from the buffer displaying your message) and
> I ended up in ~/.w3m - I get that not all buffers have files
> associated with them, but perhaps this should be communicated
> somehow instead of that kind of arbitrary (?) behaviour. ...

I don't really see how doing anything else would be better. It indeed
jumps to `default-directory', and that can be useful sometimes.

For example, as I'm writing this message, if I press `C-x C-j', Emacs
opens `~/News/drafts/drafts'. Which is relevant, at least.

And if you don't really want to see the directory it opens, just press
`q', the Dired buffer will be buried, and you will see the buffer you
were in before.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14733: 23.4; dired-jump
  2013-06-27 19:13 ` Dmitry Gutov
@ 2013-06-27 22:23   ` Emanuel Berg
  2021-08-21 14:20     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2013-06-27 22:23 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 14733

> I don't really see how doing anything else would be better. It
> indeed jumps to `default-directory', and that can be useful
> sometimes.

Yes, only, as was my case (in Gnus, `default-directory' wasn't set
so some other part of my Emacs activity - w3m, as it was - had
gotten there first, with no change) so the jump didn't make any
sense.

So, either a message could be fired off - file not associated with
file, using bam-bam-bam instead - *or* you could elaborate like
one line in the doc string on this.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14733: 23.4; dired-jump
  2013-06-27 22:23   ` Emanuel Berg
@ 2021-08-21 14:20     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-21 14:20 UTC (permalink / raw)
  To: Emanuel Berg; +Cc: 14733, Dmitry Gutov

Emanuel Berg <emanuel.berg.8573@student.uu.se> writes:

> So, either a message could be fired off - file not associated with
> file, using bam-bam-bam instead - *or* you could elaborate like
> one line in the doc string on this.

I've now done the latter in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-21 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 16:58 bug#14733: 23.4; dired-jump Emanuel Berg
2013-06-27 19:13 ` Dmitry Gutov
2013-06-27 22:23   ` Emanuel Berg
2021-08-21 14:20     ` Lars Ingebrigtsen

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).