[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

advising org-agenda-filter-by-category



Hi,

I am trying to improve emacspeak feedback for org-mode.

I'm starting simple and hopefully working up to some more complex
interactions.

As a test I've advised org-agenda-filter-by-category.

The questions I have are:
- Is there any sort of style guide when it comes to what sort of
  auditory icons should be used for various actions.

I've picked two that sounded likely but with no real rhyme or reason.

org-agenda-filter-by-category filters the current org agenda view by
category.  All other items are hiden or revealed as it's toggled. 

I use a different auditory icon depending if content is hidden or
revealed.  Then get emacspeak to speak the current line.

I'm not sure if speaking the line is necessary as point never moves.


(defadvice org-agenda-filter-by-category (around emacspeak pre act comp)
  "Provide auditory feedback."
					;  (emacspeak-auditory-icon 'close-object)
  (if (and org-agenda-filtered-by-category
	   org-agenda-category-filter)
      (emacspeak-auditory-icon 'close-object)
    (emacspeak-auditory-icon 'select-object))
  ad-do-it
  (emacspeak-speak-line))



Kind regards

Bart
-- 


Kind regards

Bart

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog