From: "Veli-Pekka Tätilä" <vtatila@gmailRemoveToReply.com>
To: help-gnu-emacs@gnu.org
Subject: Audio Feedback in Flymake: Easily Extending Flymake Itself
Date: Thu, 9 Oct 2008 08:33:46 +0300 [thread overview]
Message-ID: <48ed96d8$0$25383$9b536df3@news.fv.fi> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1601 bytes --]
Hi,
Simply put, can I tell Flymake to produce sound when a new error is
"created" or an existing one fixed? Visually, flymake uses a different
background color to indicate line statuses and posts the error and warnings
counts, I think, to the mode line. However, neither is particularly easy to
read out smartly with a Windows screen reader from Emacs, who just sees a
large "console", so I'd like to get audio feedback in stead. I'm using
flymake_lua from:
http://www.emacswiki.org/cgi-bin/wiki/FlymakeLua
Playing the sound as such
http://www.gnu.org/software/emacs/elisp/html_node/Sound-Output.html
or posting a message containing a bell to the message line monitored by the
screen reader
http://www.gnu.org/software/emacs/emacs-lisp-intro/html_node/message.html
seems easy enough.
I've taken a quick look at the list of functions in flymake but didn't find
hooks to add there. Nor did I find anything I could directly extend, in the
Lua specific bits. I'm rather new to Elisp but have read the gist of
Programming in Emacs Lisp.
On a side note, flymake is one of the many things that made me go wow when I
saw it in Emacs. Others, that I'm also using in Lua, include
outline-minor-mode matching functions, incremental regexp searches, the Lua
mode itself (due to the indents I do with C-i), not to mention dynamic
abbreviation bound to the tab key, for locals and function names. Great
features that go well together in coding.
Any help appreciated.
--
With kind regards Veli-Pekka Tätilä
Accessibility, Apps and Coding plus Synths and Music:
http://vtatila.kapsi.fi
next reply other threads:[~2008-10-09 5:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-09 5:33 Veli-Pekka Tätilä [this message]
2008-10-09 21:14 ` Audio Feedback in Flymake: Easily Extending Flymake Itself Veli-Pekka Tätilä
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='48ed96d8$0$25383$9b536df3@news.fv.fi' \
--to=vtatila@gmailremovetoreply.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).