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: Sat, 26 Oct 2013 09:33:39 -0700 Message-ID: References: <83wql0f1ej.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1382805222 13816 80.91.229.3 (26 Oct 2013 16:33:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Oct 2013 16:33:42 +0000 (UTC) To: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 26 18:33:47 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 1Va6o6-0006FJ-9J for ged-emacs-devel@m.gmane.org; Sat, 26 Oct 2013 18:33:46 +0200 Original-Received: from localhost ([::1]:35364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va6o5-0007By-TY for ged-emacs-devel@m.gmane.org; Sat, 26 Oct 2013 12:33:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va6o1-0007Ae-WB for emacs-devel@gnu.org; Sat, 26 Oct 2013 12:33:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Va6o1-0006VL-8T for emacs-devel@gnu.org; Sat, 26 Oct 2013 12:33:41 -0400 Original-Received: from mail-qe0-x229.google.com ([2607:f8b0:400d:c02::229]:44863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va6o0-0006V9-42; Sat, 26 Oct 2013 12:33:40 -0400 Original-Received: by mail-qe0-f41.google.com with SMTP id x7so3147185qeu.28 for ; Sat, 26 Oct 2013 09:33:39 -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=I6BdAXZMcQ0Tw+NehLLFNb7UJE4SrjcEBlagHJQmMWM=; b=F5EUvjZ3tjggUWUcOFjc2PJ54oXwZg/v9mO5YKYnpYTfVb+fwnQ3eVltKfodabxLgT erjQt1kwyl2IbjzM8+8AeJvxSKbLZOMBzYTff9dFlykZmVM9XIvYufbk5em18jiilqr1 Pstgq/56ABMj5L0VAbuL1lKfzzzxln5BRJBwj8TeUoZknYtmKRT5Z56ZFsnNCduhDYvX hlVfPeYk0tTVux8uQ3uyUpe6s1FRgm3hJ782qJyYqBRJ+iQ3C+H2w+AixRRet4NaqA7o +jJDgIwPRc2lsa5S4rxl0T0DG5wRFwzznNthz+swihUgipgQef1F3K0pSgRYq7U9p2Lm zZHQ== X-Received: by 10.224.65.199 with SMTP id k7mr19454566qai.24.1382805219586; Sat, 26 Oct 2013 09:33:39 -0700 (PDT) Original-Received: by 10.229.171.135 with HTTP; Sat, 26 Oct 2013 09:33:39 -0700 (PDT) In-Reply-To: <83wql0f1ej.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c02::229 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:164561 Archived-At: Am happy to see you add features for emacspeak:-) Some useful hooks to add: 1. A hook that is called when information is echoed to the message area --- it might get chatty if it always talked. 2. A pre-insert hook on self-insert-command -- right now I cant tell from the emacspeak end when self-insert-command bales out because the current context is read-only. -- -- On 10/26/13, Eli Zaretskii wrote: >> Date: Sat, 26 Oct 2013 09:11:41 -0700 >> From: "T.V. Raman" >> >> Emacspeak produces all its spoken feedback via advice --- so in >> general, output that gets done purely through the C layer ends up >> by-passing the advice layer. > > We could have special hooks to support Emacspeak and its likes, > without moving everything to Lisp. > > Advice IMO is a kludgey way to get features which are missing in the > infrastructure; if large and important (to some) packages such as > Emacspeak need features that are missing, it is better to add such > features than to rely on kludges forever. >