all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Samuel Wales <samologist@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: dired commands/vars i can't find
Date: Wed, 11 Jan 2023 10:57:15 +0300	[thread overview]
Message-ID: <AEE0207E-D0D4-4AE4-A78C-14F248027272@gnu.support> (raw)
In-Reply-To: <CAJcAo8umvMWA5vi+vXnE5MzeDDY7Y=qU2DHRhZ9nMXRM=GgrFQ@mail.gmail.com>

On January 11, 2023 8:58:11 AM GMT+03:00, Samuel Wales <samologist@gmail.com> wrote:

>1.  suppose you run dired fro a file.  i beierve there is a setting
>that will put point on that file's line insted of at top.  whatis it?

(defun rcd-dired-for-file ()
  (interactive)
  (let ((file (or (buffer-file-name)
                  default-directory)))
    (dired-jump nil file)))





Jean



  parent reply	other threads:[~2023-01-11  7:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-11  5:58 dired commands/vars i can't find Samuel Wales
2023-01-11  6:48 ` Samuel Wales
2023-01-11  7:57 ` Jean Louis [this message]
2023-01-11  8:15   ` Yuri Khan
2023-01-11 19:09     ` H. Dieter Wilhelm
2023-01-12  6:59     ` Jean Louis
2023-01-11 13:17 ` Filipp Gunbin

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=AEE0207E-D0D4-4AE4-A78C-14F248027272@gnu.support \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=samologist@gmail.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.