From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Strange use of (run-with-timer 0 nil #'foo args) in do-after-load-evaluation Date: Tue, 29 Oct 2019 00:20:30 +0100 Message-ID: References: <20191026101407.GA17424@ACM> <87o8y3d4ur.fsf@gnus.org> <87mudl3l83.fsf@mail.linkov.net> <87v9s9b12x.fsf@gnus.org> <87ftjctsx5.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="37366"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Alan Mackenzie , Lars Ingebrigtsen , Stefan Monnier , Emacs developers To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 29 00:21:32 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPEKJ-0009aV-Ba for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 00:21:31 +0100 Original-Received: from localhost ([::1]:45338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPEKH-00006A-Eh for ged-emacs-devel@m.gmane.org; Mon, 28 Oct 2019 19:21:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56748) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPEJY-00005w-6r for emacs-devel@gnu.org; Mon, 28 Oct 2019 19:20:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPEJX-00009n-7J for emacs-devel@gnu.org; Mon, 28 Oct 2019 19:20:44 -0400 Original-Received: from mail-pg1-f170.google.com ([209.85.215.170]:39778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPEJX-00009c-2Z for emacs-devel@gnu.org; Mon, 28 Oct 2019 19:20:43 -0400 Original-Received: by mail-pg1-f170.google.com with SMTP id p12so8072087pgn.6 for ; Mon, 28 Oct 2019 16:20:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UfVDDYh0BeeYiejPaGwNydwEuPQkyi6BvmWgI5693kA=; b=rXQpCYmbBbs/ugp+/JCE/oYDbeiXQfT61MCP3/IrRFfM2DfaJgWlya/bWmVioI+q9+ +1HPqnRR3l7/ko+tz7iYc9VkloFDQPPm/h4Ft+G7zmfLVdxQ4ol/Qmc8GbY9nDamJ7lH K5qtcKwJ/eYV+TIkdDv4m6cBBc759YrIXhGXVOisudLpXgVojpgugCrMbkFlqs6ASDft GmAjxLIQCqBc+PmximmF4PZaoAbpxVxLtv+t23MistY5zBkEMDQQiB7FtMlMTDuHUeY8 rQjxnSpsM7wm2bOriOiE3oDomeL/m7nfqQsZ9AwGpisc9s3PXQ7V9PFgOydO1PLCL4Da sp5w== X-Gm-Message-State: APjAAAVGpTt9kmawqS4wGJkpwSVQS9OQccJfJ4EHdQraWme5Vyvwfd81 OzZIJ/u8FrzfgkB/lpee1fh9visli3owdhZTVrs= X-Google-Smtp-Source: APXvYqyD3u1WO6VfbdTa3eo6mkZFtJKvpRrVr9+jklUermKqVsJ+BV6hY3xCry1uxnQeedT8biWeXhWlcBLvCNQSX7A= X-Received: by 2002:a63:7015:: with SMTP id l21mr12932119pgc.200.1572304841729; Mon, 28 Oct 2019 16:20:41 -0700 (PDT) In-Reply-To: <87ftjctsx5.fsf@mail.linkov.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.170 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241567 Archived-At: Juri Linkov writes: > > I think having a history for y-or-n-p doesn't sound very useful? > > Hitting `M-p' doesn't to get to the previous answer just sounds > > confusing to me. > > Please try the example I sent earlier. It feels quite naturally > typing 'M-p RET' to repeat a previous y/n answer. I think this is a misfeature. Imagine a user answering "Do you want to save important file X before closing?" and is used to always having "y" in her history. This time, "n" was the first item in history because of some previous but now forgotten invocation the night before. But the user hits "M-p RET" by habit, expecting that to mean "y", and ends up discarding important work. Using this puts a cognitive load on the user if she doesn't want to make mistakes. Best regards, Stefan Kangas