Bug#1006498: nano: Compile with --enable-multibuffer

2022-02-27 Thread Benno Schulenberg

Op 26-02-2022 om 12:49 schreef Jari Aalto:
> https://www.nano-editor.org/dist/v2.3/faq.html#3.7

That is a very old version of the FAQ.  Look here instead:

https://nano-editor.org/faq.html#3.6

There it says: "[...], just hit Meta-F after typing ^R."

(The M-F toggle was removed from the main menu in version 3.0, for
consistency: all toggles relating to file reading are available
just in the Read menu.)

(A default build of nano has multibuffer capability built in.
When 'nano --version' does not mention '--enable-tiny' nor
'--disable-multibuffer', then multibuffer is available.)

I've added a note at the start of each old FAQ saying that it is
an old FAQ, and with a link to the latest FAQ.


Benno


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1006498: nano: Compile with --enable-multibuffer

2022-02-26 Thread Jari Aalto
Package: nano
Version: 6.2-1
Severity: normal

Please compile with --enable-multibuffer to enable M-f multibuffer
support in the editor.

-

nano -V

GNU nano, version 6.2
(C) 1999-2011, 2013-2022 Free Software Foundation, Inc.
(C) 2014-2022 the contributors to nano
Compiled options: --disable-libmagic --enable-utf8

-

https://www.nano-editor.org/dist/v2.3/faq.html#3.7

3.7. Tell me more about this multibuffer stuff!

To use multiple file buffers, you must be using nano 1.1.0 or newer,
and you must not have configured it with --disable-multibuffer nor
with --enable-tiny (use nano -V to check the compilation
options). Then when you want to insert a file into its own buffer
instead of into the current file, just hit Meta-F, then insert the
file as normal with ^R. If you always want files to be loaded into
their own buffers, use the --multibuffer or -F flag when you invoke
nano.

You can move between the buffers you have open with the Meta-< and
Meta-> keys, or more easily with Meta-, and Meta-. (clear as mud,
right? =-). When you have more than one file buffer open, the ^X
shortcut will say "Close", instead of the normal "Exit" when only one
buffer is open.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nano depends on:
ii  libc6 2.33-5
ii  libncursesw6  6.3-2
ii  libtinfo6 6.3-2

nano recommends no packages.

Versions of packages nano suggests:
pn  hunspell  

-- no debconf information