unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: tpeplt <tpeplt@gmail.com>
To: David Karr <davidmichaelkarr@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Annoying hangup with "man"
Date: Sun, 21 Jan 2024 13:57:04 -0500	[thread overview]
Message-ID: <871qaa4irj.fsf@gmail.com> (raw)
In-Reply-To: <CAA5t8VpMLra6gBJj3GovP9wDtRLo8jhCEqKnt4C-01Dggk7eCg@mail.gmail.com> (David Karr's message of "Sat, 20 Jan 2024 12:47:05 -0800")

David Karr <davidmichaelkarr@gmail.com> writes:

> I'm using GNU emacs v28.2 on Cygwin 3.4.6-1.x86_64.
>
> For quite a while now, I've been running into a very annoying bug with the
> "man" package.  When I execute "man", if I type the item I want info on too
> quickly, it hangs Emacs completely, and I have to kill it and restart it,
> losing anything I was working on.  If I'm careful and type slowly, it
> doesn't hang. This often happens after only entering one or two characters.
>

There are two features of Emacs that every Emacs user should learn to
use so that the problem of "losing anything I was working on" does not
occur:

1. Emacs auto-save and recover.  When you restart Emacs, you should be
able to recover most or all of your lost work by using the
‘recover-session’ command.  This is documented in the ‘Recover’
sub-section of the ‘Auto Save’ section of the ‘Files’ chapter of the
Emacs user manual.  To read the ‘Auto Save’ section from the beginning,
you can type M-: (that is, your meta key followed by the colon key,
‘:’), and then type the following text after the ‘Eval:’ prompt:

   (info "(emacs) Auto Save")


2. Emacs desktops.  Emacs users can divide their work into sessions
(groups of files and buffers) called ‘desktops’.  These can be loaded
and switched among depending on need.  Once set up, these desktops will
automatically keep track of a set of files and buffers so that it is not
necessary for an Emacs user to open or restore the set manually using
multiple commands.  Instead, loading a ‘desktop’ will cause Emacs to
restore them for the user.  How to set up Emacs to use the ‘desktop’
feature is documented in the Emacs user manual.

  M-: (info "(emacs) Saving Emacs Sessions")

Note that it is possible to have any number of desktops and to switch
among them in a single Emacs session.  This supports working on multiple
projects and then switching among them even if many days, weeks, months,
or years have passed since you last worked on a given project (assumes
that the .emacs.desktop file for a given project has not become
incompatible with the ‘desktop’ library).

--



      parent reply	other threads:[~2024-01-21 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-20 20:47 Annoying hangup with "man" David Karr
2024-01-21  5:16 ` Eli Zaretskii
2024-01-21 18:57 ` tpeplt [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=871qaa4irj.fsf@gmail.com \
    --to=tpeplt@gmail.com \
    --cc=davidmichaelkarr@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).