unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: Samuel Wales <samologist@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: dired commands/vars i can't find
Date: Thu, 12 Jan 2023 09:59:45 +0300	[thread overview]
Message-ID: <Y7+v4ap2DefdGrCg@protected.localdomain> (raw)
In-Reply-To: <CAP_d_8UYeNespETpHf9+EDy4w8Kxe+NsMhp3YRFkmONmTqhNGQ@mail.gmail.com>

* Yuri Khan <yuri.v.khan@gmail.com> [2023-01-11 11:16]:
> On Wed, 11 Jan 2023 at 14:59, Jean Louis <bugs@gnu.support> 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)))
> 
> I’m just using dired-jump. Most of the time, it does the right
> thing.

That is right, I did not know.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



  parent reply	other threads:[~2023-01-12  6:59 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
2023-01-11  8:15   ` Yuri Khan
2023-01-11 19:09     ` H. Dieter Wilhelm
2023-01-12  6:59     ` Jean Louis [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=Y7+v4ap2DefdGrCg@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=samologist@gmail.com \
    --cc=yuri.v.khan@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.
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).