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

Re: Playing Sounds Within Emacspeak




Just a notes regarding elpa mode. Firstly, unfortunately, as yet, elpa does not have any built in signing or security support. This means you need to be very careful that any repository you add is safe and run by people with a reputation you trust. 

The second point to note is that you can get some 'odd' behaviour if you have a package loaded from one elpa and want to update it with a version from another elpa. For example, the elpa repository run by the org-mode folks usually has a much later version of org-mode and has an org-mode version bundled with all the contrib packages. However, the 'default' elpa package included with more recent versions of emacs (the one run by gnu.org) also has a version of org-mode. If you have already loaded the org mode libraries from the gnu elpa and then attempt to load the org-mode package from the org-mode elpa, you can end up with a 'mixed' org version which has bits from two different versions of org-mode. The solution (in this cas) is to ensure you have NO org libs loaded before you select the org mode package (or org-mode-plus-contrib). Symptoms of this problem are frequent errors with unknown symbol or undefined funcitons etc. Sometimes, running org-version will tell you what version the system things it is running. 

Apart from these minor issues, I've found elpa mode really good. Here are the two repos I use ....

(add-to-list 'package-archives 
    '("marmalade" . "http://marmalade-repo.org/packages/"))
(add-to-list 'package-archives
   '("org" . "http://orgmode.org/elpa/"))

(package-initialize)




On 19 August 2013 04:24, Jude DaShiell <jdashiel@shellworld.net> wrote:
They're scattered all over the web.  Here's a copy of my own .emacs file
probably an earlier version you may find either comical or interesting
reading.
cut here.
(setq emacspeak-play-emacspeak-startup-icon t)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(add-hook 'mail-setup-hook 'spook)
(add-hook 'mail-setup-hook 'fortune-to-signature)
(setq mh-send-uses-spost-flag t)
     (setq mail-user-agent 'mh-e-user-agent)
     (setq browse-url-browser-function 'w3m-browse-url)
     (require 'w3m-load)
(require 'org-install)
     (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
          (global-set-key "\C-cl" 'org-store-link)
               (global-set-key "\C-ca" 'org-agenda)
(setq org-log-done t)
               (global-font-lock-mode 1)
               (add-to-list 'load-path "~/elisp/muse/lisp")
                    (add-to-list 'load-path "~/elisp/planner")
                         (add-to-list 'load-path "~/elisp/remember")
                         (setq planner-project "WikiPlanner")
                              (setq muse-project-alist
                                         '(("WikiPlanner"
                                                      ("~/plans"   ;; Or wherever you want your planner files to be
                                                                   :default "index"
                                                                                :major-mode planner-mode
                                                                                             :visit-link planner-visit-link))))
                                                                                                  (require 'planner)
                          (add-hook 'text-mode-hook
                                                                                                                (lambda ()
                                                                                                                                (when (y-or-n-p "Auto Fill mode? ")
                                                                                                                                                  (turn-on-auto-fill))))
;;                                                                                                                                                (global-set-key (kbd "C-c q") 'refill-mode)
                                                                                                                                                  (add-to-list 'load-path "~/elisp/bbdb-2.35/lisp")    ;; (1)
                                                                                                                                                  (require 'bbdb)
                                                                                                                                                  (bbdb-initialize 'gnus 'message)
                                                                                                                                                  (setq bbdb-north-american-phone-numbers-p nil)
                                                                                                                                                  (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
                                                                                                                                                  (add-hook 'mh-folder-mode-hook 'bbdb-insinuate-mh)
                                                                                                                                                  (add-hook 'rmail-mode-hook 'bbdb-insinuate-rmail)
                                                                                                                                                  (add-hook 'mail-setup-hook 'bbdb-insinuate-sendmail)
(require 'org-habit)
(add-to-list 'load-path (expand-file-name "~/org-mode/lisp"))
(add-to-list 'auto-mode-alist '("\\.\\(org\\  |org_archive\\|txt\\)$" . org-mode))
(setq org-agenda-files '("/tmp/test.org"))
(global-set-key "\C-cb" 'org-iswitchb)
(blink-cursor-mode -1)
(setq require-final-newline t)
(setq case-fold-search t)
(global-set-key [(meta g)] 'goto-line)

On Sun, 18 Aug 2013, D.J.J. Ring, Jr. wrote:

> Is there a list of these and a how-to add to .emacs file?
>
> DR
>  On Aug 18, 2013 1:00 PM, "Jude DaShiell" <jdashiel@shellworld.net> wrote:
>
> > Before playing with elpa, it will be helpful to add all of the different
> > elpa archives to your .emacs so they all get checked for packages.
> >
> > On Sun, 18 Aug 2013, Steve Holmes wrote:
> >
> > > I tried this option both before and after loading emacspeak and no go.
> > Other
> > > auditory icons work fine. I also looked on my old setup where the startup
> > > sound worked and emms was not installed on that system so I don't think
> > emms
> > > is necessary for the emacspeak startup sound to play. I have used emms
> > in the
> > > past to play music and all and it was pretty cool. Yes, I have elpa
> > installed
> > > on my machine though I haven't done much with it yet. It's just sitting
> > there
> > > waiting for me to load it up and see what packages I might wanna play
> > with.
> > >
> > > It's mainly a curiousity as to why that feature doesn't work now on my
> > new
> > > setup.
> > >
> > > On 08/17/13 17:25, Rob Hill wrote:
> > > > Hello Steve and list,
> > > >
> > > > Check that
> > > >
> > > > emacspeak-play-emacspeak-startup-icon
> > > >
> > > > is set to t.
> > > >
> > > > Rob
> > > >
> > > >
> > > >
> > > > Steve Holmes writes:
> > > > > plain text, us-ascii                [Press RETURN to display text]
> > > >
> > >
> > >
> > -----------------------------------------------------------------------------
> > > To unsubscribe from the emacspeak list or change your address on the
> > > emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
> > > subject of "unsubscribe" or "help".
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------------
> > jude <jdashiel@shellworld.net>
> >
> >
> > -----------------------------------------------------------------------------
> > To unsubscribe from the emacspeak list or change your address on the
> > emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
> > subject of "unsubscribe" or "help".
> >
> >
>

---------------------------------------------------------------------------
jude <jdashiel@shellworld.net>

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




--
Tim Cross


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

priestdo@cs.vassar.edu No Soliciting!

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

Emacspeak Files | Emacspeak Blog | Search the archive