From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Constantin Kulikov Newsgroups: gmane.emacs.devel Subject: Re: Several proposals, that I think will be helpful(or i dont know about). Date: Wed, 27 Nov 2013 00:13:46 +0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0139fddc2d68b204ec1a1e02 X-Trace: ger.gmane.org 1385496851 12914 80.91.229.3 (26 Nov 2013 20:14:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2013 20:14:11 +0000 (UTC) To: Glenn Morris , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 26 21:14:17 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VlP1V-00036x-40 for ged-emacs-devel@m.gmane.org; Tue, 26 Nov 2013 21:14:17 +0100 Original-Received: from localhost ([::1]:60851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlP1U-0006B2-L1 for ged-emacs-devel@m.gmane.org; Tue, 26 Nov 2013 15:14:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlP1Q-00069D-JX for emacs-devel@gnu.org; Tue, 26 Nov 2013 15:14:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlP1L-0006Wj-O4 for emacs-devel@gnu.org; Tue, 26 Nov 2013 15:14:12 -0500 Original-Received: from mail-ie0-x233.google.com ([2607:f8b0:4001:c03::233]:55792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlP10-0006Rw-Vp; Tue, 26 Nov 2013 15:13:47 -0500 Original-Received: by mail-ie0-f179.google.com with SMTP id x13so9857879ief.24 for ; Tue, 26 Nov 2013 12:13:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vv1Y0bD7YZZs7797UsOYQNsNuB567CbuLXLCQjAB/cE=; b=jT1CnQbf01S60nIUqB3H0yAZq7f5TybISIZajoNJINsElNudp/S2TNCbwehjPWqN4x 5WcXlfLa+HjIqLwaOeP79p4GO3I4DwVrzIoOCPsGnAGQi96rvnqNjH/r+6/0c9iI0/Fz iyal6qB607EG0QM+wkhFF9WuofuYOshJFAxJldHKisWurL3ulUzzHffMH0JQrlsXViJk cYE8TrlZ45AUszLo30nNqG5X1etxCqsN7ZQulcuNV6F/vJv8TN7FJWfoFGzF5ImR04uj wUUyzV7YUjFwHfV9G7hkf41kMm8/uGFWynGNtVoxR6dNK3qDEw7tdMZLUdsp0WiaH8BF FQGQ== X-Received: by 10.50.73.164 with SMTP id m4mr18289201igv.7.1385496826437; Tue, 26 Nov 2013 12:13:46 -0800 (PST) Original-Received: by 10.43.74.137 with HTTP; Tue, 26 Nov 2013 12:13:46 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165786 Archived-At: --089e0139fddc2d68b204ec1a1e02 Content-Type: text/plain; charset=UTF-8 > maybe yes-or-no-p etc should abort Just aborting is not so good in my apinion. I think it could be replaced with something like: yes-or-no-or-defer-p that takes a function as argument, and if it cannot interact with user it executes this function or add this function to after-make-frame-functions hook. On 27 November 2013 00:07, Glenn Morris wrote: > Constantin Kulikov wrote: > > > // And then maybe standard packages from emacs distro should be updated > to > > not hang emacs daemon. Eventually. > > Sounds like my other suggestion in that report ("maybe yes-or-no-p etc > should abort in such cases rather than waiting for ever"). > --089e0139fddc2d68b204ec1a1e02 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> maybe yes-or-no-p etc should abort
Just aborting is not so good in my apinion.
I think it could= be replaced with something like: yes-or-no-or-defer-p that takes a functio= n as argument, and if it cannot interact with user it executes this functio= n or add this function to after-make-frame-functions hook.


O= n 27 November 2013 00:07, Glenn Morris <rgm@gnu.org> wrote:
Constantin Kulikov wrote:

> // And then maybe standard packages from emacs distro should be update= d to
> not hang emacs daemon. Eventually.

Sounds like my other suggestion in that report ("maybe yes-or-no= -p etc
should abort in such cases rather than waiting for ever").

--089e0139fddc2d68b204ec1a1e02--