From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#21746: 24.5; purpose of dired-keep-marker-copy? Date: Sat, 24 Oct 2015 09:05:56 -0700 (PDT) Message-ID: <445d63c1-b9f9-4c48-90dd-0cc9303437b1@default> References: <> <<83611wy995.fsf@gnu.org>> <> <<8337x0y8j8.fsf@gnu.org>> <> <<831tcky7it.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1445702848 31960 80.91.229.3 (24 Oct 2015 16:07:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2015 16:07:28 +0000 (UTC) Cc: winkler@gnu.org, 21746@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 24 18:07:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zq1Lb-0005k3-4h for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Oct 2015 18:07:11 +0200 Original-Received: from localhost ([::1]:44900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq1La-0002fa-Kc for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Oct 2015 12:07:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq1LW-0002fN-Qd for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 12:07:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zq1LS-0002xH-PI for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 12:07:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq1LS-0002xD-ME for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 12:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zq1LS-0005co-CF for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 12:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Oct 2015 16:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21746 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21746-submit@debbugs.gnu.org id=B21746.144570276321483 (code B ref 21746); Sat, 24 Oct 2015 16:07:02 +0000 Original-Received: (at 21746) by debbugs.gnu.org; 24 Oct 2015 16:06:03 +0000 Original-Received: from localhost ([127.0.0.1]:37018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zq1KV-0005aQ-0P for submit@debbugs.gnu.org; Sat, 24 Oct 2015 12:06:03 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:17200) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zq1KT-0005Zt-92 for 21746@debbugs.gnu.org; Sat, 24 Oct 2015 12:06:01 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t9OG5xuD003552 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 24 Oct 2015 16:05:59 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t9OG5vIF001181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 24 Oct 2015 16:05:59 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t9OG5vLf027435; Sat, 24 Oct 2015 16:05:57 GMT In-Reply-To: <<831tcky7it.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107991 Archived-At: > > > Would adding to dired.el autoload cookies for the commands and option= s > > > in the other 2 packages have the same effect, as far as > > > discoverability is concerned, as loading them? If not, what will be > > > missing? > > > > If I understand you correctly, no. The point is to make > > their commands and menu items apparent from the outset in > > Dired. IIUYC, what you describe would have Dired start > > without them, and only if someone used one of their commands > > would they be loaded. That doesn't help discovery of what > > they have to offer. >=20 > The commands will be apparent if we use autoload cookies, if by > "apparent" you mean the help command will know about them (if you mean > something else, please tell). If we want them to be in the menus, we > could perhaps add the missing menu items (I didn't check if that will > work, though). By "apparent" I mean (and I think I said so) not only that help commands know about these features (keys, commands), but that their submenus and their menu items are also available in Dired from the outset. But yes, I almost mentioned, along the lines of what you are suggesting, that if you prefer to do all of the following, instead of simply loading all dired*.el files together, then that would be fine too: 1. Add all of the menu stuff to dired.el (or use some equivalent way to include them from the outset). 2. Ensure that :keys is used for them (or some equivalent), so that the associated keys are mentioned in the menus. 3. Autoload all of the commands. A third possibility is to merge all of the other two files into dired.el. Both of these two possibilities are a lot more work than just ensuring that when dired.el is loaded (however it might be) the other two are loaded immediately also.