From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.help Subject: get to the first file like in real dired Date: Tue, 01 Jan 2013 07:17:11 +0800 Message-ID: <87y5gdbymg.fsf@jidanni.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356995865 30823 80.91.229.3 (31 Dec 2012 23:17:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Dec 2012 23:17:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 01 00:18:01 2013 Return-path: Envelope-to: geh-help-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 1TpocD-0005dX-JZ for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jan 2013 00:17:53 +0100 Original-Received: from localhost ([::1]:33555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tpoby-000574-K8 for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 18:17:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tpobp-00055m-PG for help-gnu-emacs@gnu.org; Mon, 31 Dec 2012 18:17:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tpobo-0000m9-Jh for help-gnu-emacs@gnu.org; Mon, 31 Dec 2012 18:17:29 -0500 Original-Received: from hapkido.dreamhost.com ([66.33.216.122]:40391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tpobo-0000lm-BB for help-gnu-emacs@gnu.org; Mon, 31 Dec 2012 18:17:28 -0500 Original-Received: from homiemail-a37.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by hapkido.dreamhost.com (Postfix) with ESMTP id A7828DC134 for ; Mon, 31 Dec 2012 15:17:26 -0800 (PST) Original-Received: from homiemail-a37.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTP id B03C9208069 for ; Mon, 31 Dec 2012 15:17:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=iM87JEEGb40RxFdlrzwNQfRsdOA=; b=gbYB0THNSxgTbezR 3a2om9ilaZlK+LrCSr5bp2hiHPO+O/R+LA7JTZEW2+9zQUNE9wntqJiOht5K7a9F X+AziOxKcCULgPmndBMXxG2HkJqcwbRCQv3TbvBxAGIzIh9hJwAzZr8jyTWZU0/O Eapir+WoZGLha6sAvw9pTCx/vn4= Original-Received: from jidanni.org (114-26-44-169.dynamic.hinet.net [114.26.44.169]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTPSA id 69529208061 for ; Mon, 31 Dec 2012 15:17:25 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 66.33.216.122 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88377 Archived-At: This just gets me to the top of the buffer. (defadvice dired-revert (after beginning-of-buffer activate) "Move to beginning of buffer (instead of keeping point on the current file)." (goto-char (point-min))) How do I make it get me to the first line like in real dired? dired.el is too complicated to read for me. Too bad the emacs maintainers don't allow an option so I wouldn't need this workaround.