Phillip Lord | 1 Oct 2008 13:32
Picon
Picon
Favicon
Gravatar

imenu support


I thought to add imenu support for muse mode -- mostly because ECB can use it,
which I though would be nice. 

This is my very initial attempt -- really simple. I think that anchors and
sections are all you want (all I want anyway!).

At the moment, anchors erroneously identifies directives as well, but this can
be fixed; I'll probably have a category for them as well. 

The hook function really needs to go into muse-mode -- no point calling it on
a hook. 

Comments welcome!

Phil

(add-hook 'muse-mode-hook 
          'muse-prepare-imenu)

(defun muse-prepare-imenu()
  (setq imenu-generic-expression muse-imenu-generic-expression))

(defvar muse-imenu-generic-expression
  '(
    ;;sections
    (nil  "^\\(\\*+ .+\\)" 1)
    ("Anchors"      "^\\(\\#.+\\)" 1))
  "Add support for imenu in muse. 

(Continue reading)

Martin Svenson | 2 Oct 2008 17:53
Picon
Gravatar

Re: imenu support

I've previously written about my muse definitions for hierarchical imenu:

http://www.mail-archive.com/muse-el-discuss <at> gna.org/msg00995.html

For screenshot see
http://www.martyn.se/code/emacs/muse-hierimenu/muse-imenu-screenshot.jpg

// Martin

Phillip Lord wrote:
> I thought to add imenu support for muse mode -- mostly because ECB can use it,
> which I though would be nice. 
>
> This is my very initial attempt -- really simple. I think that anchors and
> sections are all you want (all I want anyway!).
>
> At the moment, anchors erroneously identifies directives as well, but this can
> be fixed; I'll probably have a category for them as well. 
>
> The hook function really needs to go into muse-mode -- no point calling it on
> a hook. 
>
> Comments welcome!
>
> Phil
>
>
> (add-hook 'muse-mode-hook 
>           'muse-prepare-imenu)
>
(Continue reading)

Giorgio Valoti | 2 Oct 2008 18:19
Picon

Euro symbol with latex output

Hi all, I’ve just discovered muse and I was trying to publish PDFs,  
however I get this error when the source contains the euro currency  
symbol (please see below). Please note that I know next to nothing  
about LaTex so I probably missing something very obvious. Thank you in  
advance for any hints.

This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)  
(format=pdflatex 2008.9.6)  2 OCT 2008 14:53
entering extended mode
%&-line parsing enabled.
**Sicuram.tex
(./Sicuram.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax,  
dumylang, noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek,  
ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech,  
danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german,  
ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish,  
italian, la
tin, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese,  
romanian, rus
sian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish,  
ukenglis
h, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(Continue reading)

Phillip Lord | 2 Oct 2008 19:19
Picon
Picon
Favicon
Gravatar

Re: imenu support


Cute. It would be nice if something like this went into muse core I
think. 

Phil

>>>>> "MS" == Martin Svenson <phromo <at> gmail.com> writes:

  MS> I've previously written about my muse definitions for hierarchical
  MS> imenu:
  MS> http://www.mail-archive.com/muse-el-discuss <at> gna.org/msg00995.html

  MS> For screenshot see
  MS> http://www.martyn.se/code/emacs/muse-hierimenu/muse-imenu-screenshot.jpg

  MS> // Martin

  MS> Phillip Lord wrote:
  >> I thought to add imenu support for muse mode -- mostly because ECB
  >> can use it, which I though would be nice.
  >> 
  >> This is my very initial attempt -- really simple. I think that
  >> anchors and sections are all you want (all I want anyway!).
  >> 
  >> At the moment, anchors erroneously identifies directives as well,
  >> but this can be fixed; I'll probably have a category for them as
  >> well.
  >> 
  >> The hook function really needs to go into muse-mode -- no point
  >> calling it on a hook.
(Continue reading)

Suno Ano | 3 Oct 2008 06:14

Re: imenu support


 Phillip> Cute. It would be nice if something like this went into muse
 Phillip> core I think.

Absolutely! Something like for example it is done with TeXinfo's
texinfo-show-structure

,----[ C-h f texinfo-show-structure RET ]
| texinfo-show-structure is an interactive compiled Lisp function in
| `texinfo.el'.
| 
| (texinfo-show-structure &optional nodes-too)
| 
| Show the structure of a Texinfo file.
| List the lines in the file that begin with the  <at> -sign commands for
|  <at> chapter,  <at> section, and the like.
| 
| With optional argument (prefix if interactive), list both the lines
| with  <at> -sign commands for  <at> chapter,  <at> section, and the like, and list
|  <at> node lines.
| 
| Lines with structuring commands beginning in them are displayed in
| another buffer named `*Occur*'.  In that buffer, you can move point to
| one of those lines and then use
| RET,
| to jump to the corresponding spot in the Texinfo source file.
| 
| [back]
`----

(Continue reading)

gmane | 5 Oct 2008 09:13

RecentChange with muse-wiki ?

Hi,

Is there any possibility to have a RecentChange page of latest muse-wiki  
pages editions ?

If so, how ?

Thank you.
--

-- 
Utilisant le client e-mail révolutionnaire d'Opera :  
http://www.opera.com/mail/

gmane | 5 Oct 2008 09:38

muse-wiki instead of planner.el ?

Hi,

Just a quick and goofy question: did any of you try to replace planner  
with a simple muse-wiki pageset ?
I mean, maintain special pages like: Today, Tomorrow, NextWeek, ...

I know there are plenty of GTD fanboys but GTD do not work for me (my  
organization/planning is really a mess) and I'd rather want "free form"  
and make heavy use of links. This method has a name: CyberPocket.

Using muse-wiki to plan suppose muse has a good and efficient  
tagging/backlink support (which it does not at the moment AFAIK).

Also while at it, do you know, taking a date, I can obtain the week number  
?

Regards
--

-- 
Utilisant le client e-mail révolutionnaire d'Opera :  
http://www.opera.com/mail/

Michael Olson | 5 Oct 2008 19:30
Face
Picon
Picon

Re: RecentChange with muse-wiki ?

gmane <maillaxa <at> fastmail.fm> writes:

> Hi,
>
> Is there any possibility to have a RecentChange page of latest
> muse-wiki pages editions ?
>
> If so, how ?

Can you go into more detail?  I don't even know what RecentChange is
supposed to mean in the context of Muse projects.

--

-- 
|       Michael Olson  |  FSF Associate Member #652     |
| http://mwolson.org/  |  Hobbies: Lisp, HCoop          |
| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
`-------------------------------------------------------'

Michael Olson | 5 Oct 2008 19:31
Face
Picon
Picon

Re: muse-wiki instead of planner.el ?

gmane <maillaxa <at> fastmail.fm> writes:

> Using muse-wiki to plan suppose muse has a good and efficient
> tagging/backlink support (which it does not at the moment AFAIK).

(require 'muse-backlink)

--

-- 
|       Michael Olson  |  FSF Associate Member #652     |
| http://mwolson.org/  |  Hobbies: Lisp, HCoop          |
| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
`-------------------------------------------------------'


Gmane