* Re: [Orgmode] Notmuch: An emacs interface for fast global search and tagging of email [not found] ` <87y6ld2860.fsf@yoom.home.cworth.org> @ 2009-12-09 9:01 ` Manuel Hermenegildo 2009-12-09 20:00 ` Carl Worth 0 siblings, 1 reply; 4+ messages in thread From: Manuel Hermenegildo @ 2009-12-09 9:01 UTC (permalink / raw) To: Carl Worth; +Cc: David Bremner, notmuch > Hi Manuel, > > I got notmuch working on OS X, yes. I was on an OS X 10.4 system and > used macports for Xapian and GMime. Then I compiled talloc from source, > (which went fine), and compiled notmuch (which did have some issues with > OS X, but I fixed those---that was the reason why I went through this > exercise). Thanks for your help. I did get it running in the end (I think). I had to get the latest version (which I guess has your changes) and was finally left with only this error in talloc compilation: > gcc -dynamiclib -Wl,-search_paths_first -undefined error -o libtalloc.dylib.2.0.0 ./talloc.o ./libreplace/replace.o ./libreplace/snprintf.o ./libreplace/getpass.o strptime.o libtalloc.dylib.2 > > i686-apple-darwin9-gcc-4.0.1: libtalloc.dylib.2: No such file or directory > make: *** [libtalloc.dylib.2.0.0] Error 1 (seems like a variable is not defined well in the makefile). Taking the last "libtalloc.dylib.2" out it seems to compile and so does notmuch, which seems to run fine. Now to trying it within emacs. Here the snag is that notmuch.el uses apply-partially, which I think is an emacs 23 addtition. I am still using 22.3. I can upgrade but then some things are broken in 23 that make some of the other things I use not work. Thanks for the pointer to the list and for your efforts. Notmuch looks very interesting. Manuel -- ------------------------------------------------------------------------------- Manuel Hermenegildo | Prof., C.S.Dept., T.U. Madrid (UPM) Director, IMDEA Software and CLIP Group | +34-91-336-7435 (W) -352-4819 (Fax) ------------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Orgmode] Notmuch: An emacs interface for fast global search and tagging of email 2009-12-09 9:01 ` [Orgmode] Notmuch: An emacs interface for fast global search and tagging of email Manuel Hermenegildo @ 2009-12-09 20:00 ` Carl Worth 2009-12-10 12:26 ` Jed Brown 0 siblings, 1 reply; 4+ messages in thread From: Carl Worth @ 2009-12-09 20:00 UTC (permalink / raw) To: Manuel Hermenegildo; +Cc: David Bremner, notmuch [-- Attachment #1: Type: text/plain, Size: 1275 bytes --] On Wed, 9 Dec 2009 10:01:27 +0100, Manuel Hermenegildo <herme@fi.upm.es> wrote: > (seems like a variable is not defined well in the makefile). Taking > the last "libtalloc.dylib.2" out it seems to compile Maybe I hit that myself as well. Shame on me for now reporting it upstream to the talloc folks if I did. > and so does notmuch, which seems to run fine. Great news. I'm glad you got that working. > Now to trying it within emacs. Here the snag is that notmuch.el uses > apply-partially, which I think is an emacs 23 addtition. *sigh* Shouldn't partial application be a pretty fundamental thing in a functional language? How is it possible that this is new in emacs 23? Anyway, current notmuch is only using apply-partially in one tiny place, (for formatting the help screen). And even that's just to try to generate a nicer-looking help screen than one gets with `describe-mode'. So options here include at least: 1. Rewriting the code to not use apply-partially 2. Punting and just using describe-mode on old emacs. > Thanks for the pointer to the list and for your efforts. Notmuch looks > very interesting. And thank you for your interest. I hope you'll find a way to get it working soon. And please feel free to share whatever you do come up with. -Carl [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Orgmode] Notmuch: An emacs interface for fast global search and tagging of email 2009-12-09 20:00 ` Carl Worth @ 2009-12-10 12:26 ` Jed Brown 2009-12-10 17:15 ` Mark Anderson 0 siblings, 1 reply; 4+ messages in thread From: Jed Brown @ 2009-12-10 12:26 UTC (permalink / raw) To: Carl Worth, Manuel Hermenegildo; +Cc: David Bremner, notmuch On Wed, 09 Dec 2009 12:00:21 -0800, Carl Worth <cworth@cworth.org> wrote: > 1. Rewriting the code to not use apply-partially 1b. Use apply-partially (defun apply-partially (fun &rest args) "Return a function that is a partial application of FUN to ARGS. ARGS is a list of the first N arguments to pass to FUN. The result is a new function which does the same as FUN, except that the first N arguments are fixed at the values with which this function was called." (lexical-let ((fun fun) (args1 args)) (lambda (&rest args2) (apply fun (append args1 args2))))) Jed ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Orgmode] Notmuch: An emacs interface for fast global search and tagging of email 2009-12-10 12:26 ` Jed Brown @ 2009-12-10 17:15 ` Mark Anderson 0 siblings, 0 replies; 4+ messages in thread From: Mark Anderson @ 2009-12-10 17:15 UTC (permalink / raw) To: Jed Brown; +Cc: David Bremner, notmuch, Manuel Hermenegildo Excerpts from Jed Brown's message of Thu Dec 10 05:26:25 -0700 2009: > On Wed, 09 Dec 2009 12:00:21 -0800, Carl Worth <cworth@cworth.org> wrote: > > 1. Rewriting the code to not use apply-partially > > 1b. Use apply-partially > > (defun apply-partially (fun &rest args) > "Return a function that is a partial application of FUN to ARGS. > ARGS is a list of the first N arguments to pass to FUN. > The result is a new function which does the same as FUN, except that > the first N arguments are fixed at the values with which this function > was called." > (lexical-let ((fun fun) (args1 args)) > (lambda (&rest args2) (apply fun (append args1 args2))))) Thanks, that is nice to have. Maybe after about 13 years of Emacs use I'll try to learn more lisp than Google-copy-paste. Unfortunately for my specific case, that still didn't let the '?' key work. if: Symbol's function definition is void: mouse-event-p I seem to have lots of issues in emacs 22.2, but my Elisp is weak enough that I don't know how this ought to be handled. There is the possibility of requiring 23.1 for notmuch.el, that may be easier, then I'll just stop trying with 22.2 Thanks again, -Mark ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-10 17:55 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <87d43gqf1t.fsf@yoom.home.cworth.org> [not found] ` <857929.5376.qm@web28310.mail.ukl.yahoo.com> [not found] ` <f35dbb950911180613k3b3fd39du70bda2c6190bcde0@mail.gmail.com> [not found] ` <7A89F1FA-6DCC-43BE-8937-6715706B1CBC@gmail.com> [not found] ` <87zl6j5q44.fsf@yoom.home.cworth.org> [not found] ` <87my1x5q7y.wl%bremner@pivot.cs.unb.ca> [not found] ` <19229.26805.811027.494933@gazelle.local> [not found] ` <87y6ld2860.fsf@yoom.home.cworth.org> 2009-12-09 9:01 ` [Orgmode] Notmuch: An emacs interface for fast global search and tagging of email Manuel Hermenegildo 2009-12-09 20:00 ` Carl Worth 2009-12-10 12:26 ` Jed Brown 2009-12-10 17:15 ` Mark Anderson
Code repositories for project(s) associated with this public inbox https://yhetil.org/notmuch.git/ 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).