[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
how to associate documents in emacspeak?
- To: tcross@xxxxxxxxxxx
- Subject: how to associate documents in emacspeak?
- From: "T. V. Raman" <raman@xxxxxxxxxxx>
- Date: Sun, 22 Oct 2006 15:14:26 -0700
- Delivered-To: priestdo@xxxxxxxxxxx
- Delivered-To: emacspeak@xxxxxxxxxxx
- In-Reply-To: <17723.57610.897315.104200@xxxxxxxxxxx>
- List-Help: <mailto:emacspeak-request@xxxxxxxxxxx?subject=help>
- List-Post: <mailto:emacspeak@xxxxxxxxxxx>
- List-Subscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=subscribe>
- List-Unsubscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=unsubscribe>
- Old-Return-Path: <raman@xxxxxxxxxxx>
- Reply-To: raman@xxxxxxxxxxx
- Resent-Date: Sun, 22 Oct 2006 18:24:41 -0400 (EDT)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <2QtC2D.A.DiG.p--OFB@xxxxxxxxxxx>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
Note that to stick with emacs convention, you should put such
global keys on c-c followed by a non-control char --- that is
guaranteed not to be overridden by well-behaved emacs modes. Keys
like C-c C-c are often rebound by other modes.
>>>>> "Tim" == Tim Cross <tcross@xxxxxxxxxxx> writes:
Tim> BTW, I have this for browse-url, which makes it easy to
Tim> open a file with a web browser from within dired and
Tim> other places.
Tim>
Tim> (global-set-key "\C-c\C-z." 'browse-url-at-point)
Tim> (global-set-key "\C-c\C-zb" 'browse-url-of-buffer)
Tim> (global-set-key "\C-c\C-zr" 'browse-url-of-region)
Tim> (global-set-key "\C-c\C-zu" 'browse-url) (global-set-key
Tim> "\C-c\C-zv" 'browse-url-of-file)
Tim>
Tim> (add-hook 'dired-mode-hook (lambda () (local-set-key
Tim> "\C-c\C-zf" 'browse-url-of-dired-file)))
Tim>
Tim> This last bit sets up C-cC-zf as a shortcut for opening
Tim> the file with w3m rather than opening it for editing,
Tim> which is the default behavior if you hit enter. Note
Tim> that in my txutils mode, I have advised the view-file
Tim> funtion so that if you hit v within dired, it will do
Tim> different things depending on the extension of the
Tim> file. Note also that I have chosen what may appear to be
Tim> 'odd' key combinations for the shortcut because that is
Tim> what fits in best with my configuration. Your milage my
Tim> differ and alternative key bindings my be better for
Tim> you.
Tim>
Tim> You also need to configure browse-url to use your
Tim> preferred web browser - i.e. w3m or w3
Tim>
Tim> Note that emacs has lots and lots of support for all
Tim> sorts of things and 90% of the time, you will find the
Tim> functionality you want is already there - it just needs
Tim> to be configured. By default, many things are not turned
Tim> on because users needs differ widely and it is often
Tim> difficult to get consensus on what the "default"
Tim> behavior should be. You can usually find answers to many
Tim> of these things on the various emacs web sites, such as
Tim> the emacs wiki at http://www.emacswiki.org
Tim>
Tim> Finally, I think its a mistake to be comparing emacs and
Tim> emacspeak to windows and JAWS. They are very different
Tim> systems, with I think different users in mind. If you
Tim> are hoping to get a clone of the functionality you have
Tim> with windows and JAWS using Linux, emacs and emacspeak,
Tim> you are more than likely going to be disappointed. I
Tim> think one of the strongest advantage of Linux, emacs and
Tim> emacspeak is that it doesn't assume as much as Windows
Tim> and JAWS about the user. While some may disagree, I
Tim> think the typical emacs and emacspeak user tends to have
Tim> more of an interest and understanding of the system
Tim> compared to many windows and JAWS users who approach
Tim> their system as simply a tool which helps them get their
Tim> work done - work which is often limited to web browsing,
Tim> sending e-mail and accessing media files. Many users
Tim> have only a ver basic conceptual understanding of how
Tim> the computer and software works and the relationships
Tim> between all the bits. For Linux, emacs and emacspeak,
Tim> you need a more developed conceptual understanding in
Tim> order to get the most out of the system. This is not
Tim> meant as a value statement, merely a statement that the
Tim> audiences for the two systems are different.
Tim>
Tim> Tim
Tim>
Tim>
Tim> krishnakant Mane writes:
>> hello, I will be interested to know if I can have emacs
>> and thus emacspeak automatically open documents according
>> to their associated modes? like for example when I am in
>> the directory mode and browsing files and folders, when I
>> press enter on an html page, will it not be good that w3m
>> opens that page and it becomes accessible right away?
>> right now what I have to do is that when I want to read
>> documents in html format, I have to first open w3m and
>> press g for the url and type the path for the html page.
>> when I use jaws for windows as an example, I just press
>> enter on any html document and it opens in the internet
>> explorer. when we want to make a point clear that
>> emacspeak is absolutely user friendly, such small things
>> make a big difference when we call it user friendly.
>> thanks. Krishnakant.
>>
>> -----------------------------------------------------------------------------
>> 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"
>>
Tim>
--
Tim Cross tcross@xxxxxxxxxxx
Tim>
Tim> There are two types of people in IT - those who do not
Tim> manage what they understand and those who do not
Tim> understand what they manage.
Tim>
Tim> -----------------------------------------------------------------------------
Tim> To unsubscribe from the emacspeak list or change your
Tim> address on the emacspeak list send mail to
Tim> "emacspeak-request@xxxxxxxxxxx" with a subject of
Tim> "unsubscribe" or "help"
--
Best Regards,
--raman
Email: raman@xxxxxxxxxxx
WWW: http://emacspeak.sf.net/raman/
AIM: emacspeak GTalk: tv.raman.tv@xxxxxxxxxxx
PGP: http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC: irc://irc.freenode.net/#emacs
-----------------------------------------------------------------------------
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"
Emacspeak Files |
Subscribe |
Unsubscribe | Search