all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Defun Self Documentation
@ 2020-11-05 15:16 Christopher Dimech
  2020-11-05 15:45 ` tomas
  2020-11-05 16:07 ` Drew Adams
  0 siblings, 2 replies; 60+ messages in thread
From: Christopher Dimech @ 2020-11-05 15:16 UTC (permalink / raw)
  To: Help Gnu Emacs


When using defun, can one include a Self Documenting string or is
Self-Documentation only applicable for interactive functions?

(defun Gdn ()
   "Description"
   Body ...
)



^ permalink raw reply	[flat|nested] 60+ messages in thread
* Re: Defun Self Documentation
@ 2020-11-06  9:10 Anders Munch
  2020-11-06 11:58 ` Eli Zaretskii
  0 siblings, 1 reply; 60+ messages in thread
From: Anders Munch @ 2020-11-06  9:10 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Eli Zaretskii wrote:
>> > (setq show-paren-delay 0) <<<<<<<<< questionable
>> 
>> ?
>
> You are suggesting someone else to use your personal preferences without
> explaining your reasons for not liking the default value.

The reason for why the current default value is bad: It creates a disconnect
between the user action (moving point) and the observable result (paren
highlight).

The default of 0.125 seconds is on the wrong side of Jakob Nielsen's reactivity
limit:
    https://www.nngroup.com/articles/response-times-3-important-limits/

regards, Anders


^ permalink raw reply	[flat|nested] 60+ messages in thread
* Re: Defun Self Documentation
@ 2020-11-06 15:33 Anders Munch
  2020-11-06 15:48 ` Eli Zaretskii
  0 siblings, 1 reply; 60+ messages in thread
From: Anders Munch @ 2020-11-06 15:33 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Eli Zaretskii wrote:
> Thanks for explaining your reasoning, but let's not forget that setting that to zero has a downside: if one types fast, it will slow down redisplay by delaying the response to the typing.

There is less work to do because it happens 0.125 seconds later?

I never noticed any slowdown.  Maybe it's mode-specific, some modes are slow at
finding the match?

> But of course, this is personal, which is why it is a user option.

Sure, but we were talking about the default, and the 0.1 seconds is an actual
scientific result.

regards, Anders



^ permalink raw reply	[flat|nested] 60+ messages in thread

end of thread, other threads:[~2020-11-11 15:34 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-05 15:16 Defun Self Documentation Christopher Dimech
2020-11-05 15:45 ` tomas
2020-11-05 15:55   ` Christopher Dimech
2020-11-05 16:00     ` tomas
2020-11-05 16:10       ` Christopher Dimech
2020-11-05 18:08       ` Jean Louis
2020-11-05 19:34         ` Christopher Dimech
2020-11-05 16:15     ` Drew Adams
2020-11-05 16:27       ` Christopher Dimech
2020-11-05 16:41     ` Stefan Monnier
2020-11-05 16:51       ` Arthur Miller
2020-11-05 16:59         ` Christopher Dimech
2020-11-05 17:28         ` Stefan Monnier
2020-11-05 17:29     ` Michael Heerdegen
2020-11-05 17:50       ` Christopher Dimech
2020-11-05 19:35         ` Michael Heerdegen
2020-11-05 19:22     ` Joost Kremers
2020-11-05 19:38       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-05 19:50         ` Eli Zaretskii
2020-11-05 21:02           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-06  5:27             ` Eli Zaretskii
2020-11-06  7:07               ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-06  7:18                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-06  7:45                   ` Eli Zaretskii
2020-11-06  8:17                     ` tomas
2020-11-06  8:38                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-06  8:45                         ` tomas
2020-11-09  3:22                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-06  8:44                     ` Gregory Heytings via Users list for the GNU Emacs text editor
2020-11-06 11:54                       ` Eli Zaretskii
2020-11-06 12:12                         ` Christopher Dimech
2020-11-06 17:36                         ` Gregory Heytings via Users list for the GNU Emacs text editor
2020-11-06 18:03                           ` Christopher Dimech
2020-11-09  3:49                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-06 18:39                           ` Eli Zaretskii
2020-11-09  4:00                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-09  3:48                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-09  3:45                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-09  3:29                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-06 11:10                   ` Defun Self Documentation (let us do it different) Jean Louis
2020-11-09  4:01                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-06 17:02               ` Defun Self Documentation Stefan Monnier
2020-11-06 18:35                 ` Eli Zaretskii
2020-11-06 18:50                   ` Stefan Monnier
2020-11-06 19:07                     ` Christopher Dimech
2020-11-06 19:23                       ` Stefan Monnier
2020-11-06 19:41                         ` Christopher Dimech
2020-11-05 16:07 ` Drew Adams
2020-11-05 18:41   ` Emanuel Berg via Users list for the GNU Emacs text editor
  -- strict thread matches above, loose matches on Subject: below --
2020-11-06  9:10 Anders Munch
2020-11-06 11:58 ` Eli Zaretskii
2020-11-06 15:33 Anders Munch
2020-11-06 15:48 ` Eli Zaretskii
2020-11-06 16:07   ` Christopher Dimech
2020-11-09  4:08   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-09  4:26     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-09  4:39       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-11-09 13:32         ` Eric S Fraga
2020-11-11 15:34           ` Michael Heerdegen
2020-11-09 15:51         ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.