[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] AUTO_VIEW option

From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] AUTO_VIEW option
Date: Mon, 20 Apr 2015 20:44:26 +0200

On Mon, Apr 20, 2015, at 11:05, Matteo Sasso wrote:
> Audio feedback might be useful to some people but not to everyone. Many
> people don't want to annoy colleagues with beeps and keep them off.

Well, there's already audio feedback when hitting some unbound keys,
for example in the main menu: M-4, M-5, M-7, M-8.  Or ^R followed by
^Q, ^W, ^R, ^Y...  In several other menus unbound keys are silent nor
is there any feedback on the status bar.  It is on my todo list to make
this more consistent.

Anyway, people who don't want any sounds should mute the speaker,
or work on a terminal that doesn't support beeps (like a VT, here),
because even a Backspace at a bash prompt produces a beep for me,
in a Gnome Terminal.

> This weekend I noticed my patch doesn't work well with multiple buffers (it
> tries to switch VIEW_MODE on and off, but it doesn't always work). Also, it
> doesn't make an exception for ^O as you rightfully pointed out.

Maybe also the regular view mode (--view) should not disable ^O:
the user cannot edit anything anyway, so there's no harm in allowing
him or her to write something out (under the same or a different name).
Only the file timestamp would change -- if that should be prevented, the
file should be made unwritable.

Pico allows ^O in view mode.


-- - A no graphics, no pop-ups email service

reply via email to

[Prev in Thread] Current Thread [Next in Thread]