From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T.V. Raman" Newsgroups: gmane.emacs.devel Subject: Request: Use message instead of message_with_string for user visible output? Date: Wed, 30 Oct 2013 02:17:14 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1383124644 26714 80.91.229.3 (30 Oct 2013 09:17:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2013 09:17:24 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 10:17:29 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 1VbRu4-0002jK-Ic for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 10:17:28 +0100 Original-Received: from localhost ([::1]:51109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbRu4-00060g-2D for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 05:17:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbRtx-00060Y-0i for emacs-devel@gnu.org; Wed, 30 Oct 2013 05:17:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbRtr-0000vD-09 for emacs-devel@gnu.org; Wed, 30 Oct 2013 05:17:20 -0400 Original-Received: from mail-qe0-x22d.google.com ([2607:f8b0:400d:c02::22d]:37768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbRtq-0000v7-Rm for emacs-devel@gnu.org; Wed, 30 Oct 2013 05:17:14 -0400 Original-Received: by mail-qe0-f45.google.com with SMTP id 8so653659qea.32 for ; Wed, 30 Oct 2013 02:17:14 -0700 (PDT) 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=zZuhkr51RxksO3n3g2L8wMOnd8CdMpsmKuq2UvUgb34=; b=yuMHsMnwzjKhfzFuJfIDGjDYtSs44RSegksmWplPeULbU4FNwU4VQM2VIrw+gEe34h IgeiVwisfNKeMNPHTGNnP8X8YKOjyN79Z47iwjxmx2p+TirPXBoF/koxzvqMFV+dmd3p LGI1fmVBb1ZggeAsH5uMnCJj6krJ5QFayMQyWgclb7uWlp/LoPxkudhTdHRfUpSTcBNi O6NYNvCjwdG91ymFtziOV/RjTOTXIXNDIPN/Ht3ir+sKpXwIN6mhR1ozIMvdLcHMrCR5 lEWAFktz7vc/2iwXywmkhCfAP1mJJNxMogUP1dfBmQc7OY7yX0FVd+AuppMZvWFnTw1z qOSA== X-Received: by 10.49.59.70 with SMTP id x6mr5024244qeq.17.1383124634555; Wed, 30 Oct 2013 02:17:14 -0700 (PDT) Original-Received: by 10.229.171.135 with HTTP; Wed, 30 Oct 2013 02:17:14 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c02::22d 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:164681 Archived-At: Thanks for making the change Stefan! Where advice has helped Emacspeak is in producing extremely context-specific feedback --- which is why except in very focused cases -- e.g., self-insert-command, hooks dont work as well --- the nightmare scenario is writing a large bunch of case analysis statements within a hook function to produce cont-specific feedback. -- -- On 10/29/13, Stefan Monnier wrote: >> Could you please update keyboard.c to call message instead of >> message_with_string when the user presses a key that is >> undefined? > > I've changed the code to call `undefined' which then uses `message'. > >> I understand that opinions re advice is mixed with some >> considering it a kluge, but kluge or not, it's stood Emacspeak >> in good stead and helped create a solution that has made me and >> others very productive over the last 18 years:-) > > Advice is great, indeed. But w generally try to take existing advices > as indication that we should add hooks and/or refactor code so that > those pieces of advice aren't needed any more. > > But don't worry: emacspeak is not the only package that's been relying > on advice for many years. `unquify' is another one that even comes > bundled with Emacs. > > > Stefan >