From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#11017: 24.0.94; emacs-lock--kill-emacs-query-functions should ding Date: Sat, 14 Apr 2012 03:48:10 +0200 Message-ID: References: <86mx7i79lb.fsf@web.de> <86obrxuz7p.fsf@web.de> <86fwc740a1.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334368191 26091 80.91.229.3 (14 Apr 2012 01:49:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2012 01:49:51 +0000 (UTC) Cc: 11017@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 14 03:49:49 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SIs7Y-0002LT-PA for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Apr 2012 03:49:48 +0200 Original-Received: from localhost ([::1]:58897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIs7X-00049t-T2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Apr 2012 21:49:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIs7V-00049d-6B for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2012 21:49:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIs7R-0000lz-Re for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2012 21:49:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIs7R-0000lU-Jg for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2012 21:49:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SIs8j-00030D-PY for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2012 21:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Apr 2012 01:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11017-submit@debbugs.gnu.org id=B11017.133436821511482 (code B ref 11017); Sat, 14 Apr 2012 01:51:01 +0000 Original-Received: (at 11017) by debbugs.gnu.org; 14 Apr 2012 01:50:15 +0000 Original-Received: from localhost ([127.0.0.1]:57838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIs7z-0002z9-6M for submit@debbugs.gnu.org; Fri, 13 Apr 2012 21:50:15 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:40868) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIs7x-0002z1-6G for 11017@debbugs.gnu.org; Fri, 13 Apr 2012 21:50:13 -0400 Original-Received: by pbbrp16 with SMTP id rp16so2013527pbb.3 for <11017@debbugs.gnu.org>; Fri, 13 Apr 2012 18:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=9gmbHpSCp3J6N7U85DI4S8t0P31iOrM37FeLmY/UprE=; b=sEjhc5hM9XL/FpJE2V5ZejXAchOks4olOBDGz0Rcpse9fnQ5A2nsAtukEC0CnCc5ow ypSh1xragOBD4lkNmZX6SxGSDbJF2KPFwvi4wFJNqxE7q8R3OEEiiH0BiB9TqU1yDSG2 d8NHOX7K9pxhRU/6De32Vi9TnFFiLRzH4Z5o/BZT01kerSMhAXpx5CAB+1yfUAgUtAVl CaJKGUaHCtjP5bt2DE6NUM8PMAAsVAU+8wkvOB2tY/DQJLdGsfovTVqQch0stT3S+red GSR9/uv4ix45dH+QIpvXABDElF+Dl1tmOOcm/wSVR0sxLqtGIUXtmsBGljGppfVGB+bX VQtw== Original-Received: by 10.68.202.234 with SMTP id kl10mr8956085pbc.52.1334368130737; Fri, 13 Apr 2012 18:48:50 -0700 (PDT) Original-Received: by 10.142.204.14 with HTTP; Fri, 13 Apr 2012 18:48:10 -0700 (PDT) In-Reply-To: <86fwc740a1.fsf@web.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59024 Archived-At: On Sat, Apr 14, 2012 at 02:36, Michael Heerdegen wrote: > However, should `emacs-lock-locked-buffer-hook' not better be named > `...-functions' or so? Yes, indeed. My mistake. > Mmh, the prefix arg of `emacs-lock-mode' is already used for the locking > mode. =C2=A0So we'll probably need a separate command that reads the note > text and saves it to a buffer local variable and maybe a user option > that controls if this command is run automatically by emacs-lock-mode. Yes. I initially thought that the separate command was unnecessary (just e-l-m asking whenever the user option is t), but then it wouldn't be possible to reset or modify the note. > Anyway, if you have a patch, please send it to the bug's address again. I'm going to commit the first patch (after -hook -> -functions), and then I'll work on the note patch. =C2=A0 =C2=A0 Juanma