From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: dired commands/vars i can't find Date: Wed, 11 Jan 2023 15:15:37 +0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33424"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Samuel Wales , help-gnu-emacs@gnu.org To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 11 09:17:02 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pFWIA-0008GV-11 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 Jan 2023 09:17:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFWHe-0000Vh-8Z; Wed, 11 Jan 2023 03:16:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFWHD-0000U3-Pv for help-gnu-emacs@gnu.org; Wed, 11 Jan 2023 03:16:06 -0500 Original-Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFWH1-0001UA-3q for help-gnu-emacs@gnu.org; Wed, 11 Jan 2023 03:15:52 -0500 Original-Received: by mail-wr1-x42f.google.com with SMTP id w1so14224003wrt.8 for ; Wed, 11 Jan 2023 00:15:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WS+65uRmi77lfRiqCdY5isKvNrB1ap3LMw0la9UIrDo=; b=exQ9n93bnBa7jBsFNBhwKaDS6Vh6vAmWnFC500QKXaUSqn3gFNRSlvvxENMt/KJP0M iFPBt0lxBaS6StAA9HNDzQh3gR6qw7DJzRdjwajV4i6aMOlr6azfXW5IXiCWMR2VsCqN FQJ+LMOkKkvggYRkvdH2c+WmciwQHVJUPCqxdT2fig1MKg8b+T7FYUzlkvlWjkPsbIme IboJbPcb1BilPhNNXGQBTysR0jtwues7Yi9qYavcUYSTqz4QLro8K6nQEAtY4AmDzAur ctnIni7EztYzCgwTm1/baNkQ5JPDJz1lBwBIn7gQRhoEo0Lkjt4CB4eJEsiITrK0pTcr /mIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WS+65uRmi77lfRiqCdY5isKvNrB1ap3LMw0la9UIrDo=; b=qxUAGSU6KnZbiWKmQsLT8cqWU6tzE+CAk953r0hCl0Rd/5e0eUmG8DU1pXu0nBtF6c YJHLJ1giBuvAl7NJlIn1m59/xMSSGDTFp/g6VpP8THdsmz3JxNRKUNOZZCWsD1nrjRho pNBghtsD9S73+6lnFMWOu/7qW86rdMz7ua7w9FepCJcePH70eDjUQxZuNbr2RsjSve8R ExNCQB6v9HiICSrVTnVDWEZNWR7YUao9BNwXuScHAnaYYqqG1xb8HJkj2ugwO/4ofGI3 pqWm2I8rMxXWolMUOmnvNb4WTnK787ReGDBal+1hmDxrPICZggrmIaPZtHOULOpsRCs+ jkqA== X-Gm-Message-State: AFqh2kpoD3HEJNtVa/JYxxfkNOyL22MsNusMxY1HeRA1HAbhtFFUFcfL fH1GDJteYVZ6ezdxYaLpTUtbcxLRD590sg5Al5M= X-Google-Smtp-Source: AMrXdXvAvBhIx0DaXrwPBVVw+0vIIGTYzHQscLJIU6jYNbGTLtS/L87nRVXbalVMJsycntufM/43gGMH4bVh5v6JnK8= X-Received: by 2002:adf:a1dc:0:b0:2b2:b21c:9634 with SMTP id v28-20020adfa1dc000000b002b2b21c9634mr933842wrv.603.1673424948357; Wed, 11 Jan 2023 00:15:48 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=yurivkhan@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142204 Archived-At: On Wed, 11 Jan 2023 at 14:59, Jean Louis 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=E2=80=99m just using dired-jump. Most of the time, it does the right thin= g.