unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Erik Hahn <erik_hahn@gmx.de>
Cc: 36223@debbugs.gnu.org
Subject: bug#36223: 26.1; dired-omit-mode breaks recover-session
Date: Thu, 10 Oct 2019 01:35:29 +0200	[thread overview]
Message-ID: <87eezltrum.fsf@gnus.org> (raw)
In-Reply-To: <86ef3vgil3.fsf@p200300758F493599BA88E3FFFE5A69D9.Speedport_W_724V_09011603_05_017> (Erik Hahn's message of "Sat, 15 Jun 2019 14:04:56 +0200")

Erik Hahn <erik_hahn@gmx.de> writes:

> I enabled dired-omit-mode globally by adding it to dired-mode-hook, as
> suggested by the manual. Now recover-session just displays a seemingly
> empty directory because all session files are omitted.
>
> I did not customize any dired-* variables.
>
> It's easy to work around now that I know the culprit but at first I
> thought session recovery just didn't work.

Yes, that's an unfortunate interaction between a minor mode that the
manual suggest putting into the hook and the way `recover-session'
works.  I've now added an ugly hack to the latter to temporarily remove
that function from the hook before calling `dired' in Emacs 27.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2019-10-09 23:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-15 12:04 bug#36223: 26.1; dired-omit-mode breaks recover-session Erik Hahn
2019-10-09 23:35 ` Lars Ingebrigtsen [this message]

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=87eezltrum.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=36223@debbugs.gnu.org \
    --cc=erik_hahn@gmx.de \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).