Hey Tamas,
this patch adds a new buffer type with actions to switch or pop to it,
just displaying it or killing it.
--8---cut here---start-8---
diff -u /home/heimdall/elisp/anything.el.orig /home/heimdall/elisp/anything.el
---
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Hi Tamas,
That's nice, really nice. I'll have a lot of fun adding stuff to
anything-config.el.
BTW, don't you want to be in charge of anything-config.el?
Yes, why not? I'll create a emacswiki page for anything.el tomorrow (if
the weather is as bad
Vagn Johansen [EMAIL PROTECTED] writes:
Hi Vagn,
Just use the locate-like program mdfind.
(defvar anything-source-mdfind
'((name . mdfind)
(candidates . (lambda ()
(start-process mdfind-process nil
mdfind anything-pattern)))
(action
Vagn Johansen [EMAIL PROTECTED] writes:
Hi Vagn,
Should I add this source to anything-config.el?
Yes. Call it anything-source-mac-spotlight instead. Few people know
about mdfind. I only discovered it by accident.
Ok.
Also I think you should remove the Delete File action in
Tassilo Horn [EMAIL PROTECTED] writes:
Hi Vagn,
Should I add this source to anything-config.el?
Yes. Call it anything-source-mac-spotlight instead. Few people know
about mdfind. I only discovered it by accident.
Ok.
Also I think you should remove the Delete File action in
anything
Hi Tamas,
there's a little bug in anything.el. Sometimes when I invoke it several
times it'll error:
Debugger entered--Lisp error: (cl-assertion-failed header-pos)
signal(cl-assertion-failed (header-pos))
(or header-pos (signal (quote cl-assertion-failed) (list ...)))
(progn (or header-pos
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Hi Tamas,
I think it happens only if your start anything when then *anything*
buffer is current. Did you try it like this too?
Now I did so and it worked as expected.
Hmm, my bug doesn't occur here anymore, so your bug is about something
else. I
[EMAIL PROTECTED] writes:
Hi Bill,
Where is the repository for anything-config.el? I found an emacs wiki
page - is that it?
The page on emacswiki that lists all this is
http://www.emacswiki.org/cgi-bin/wiki/Anything
Also, what is the best forum for posting mods to anything-config.el?
[EMAIL PROTECTED] writes:
Hi Bill,
Actually, the macro should be:
(defmacro anything-add-to-actions (var action)
`(setq ,var (cons (car ,var)
(append
(cdr ,var)
(list ',action)
Yep, that looks nice. I made some little changes,
[EMAIL PROTECTED] writes:
Hi Bill,
(defmacro anything-add-to-actions (var action)
`(setq ,var (cons (car ,var)
(append
(cdr ,var)
(list ',action)
Yep, that looks nice. I made some little changes, so that multiple
evaluations don't
Hi,
now there are the variables
anything-action-transformers-file
anything-action-transformers-buffer
anything-action-transformers-function
...
which should be lists of functions with parameters ACTIONS (the list of
actions so far) and CANDIDATE (the selected file / buffer /
[EMAIL PROTECTED] writes:
Hi Bill,
It looks like anything-source-imenu was the cause of problems #1, #2,
#3. A #4 issue that occurs with the anything-source-imenu code in
anything-config.el is that it causes anything to not work if you call
anything in a dired buffer. I've commented out the
[EMAIL PROTECTED] writes:
Hi Bill,
(defvar anything-locate-options (if (eq system-type 'darwin)
'(locate)
'(locate -i -r))
A list where the `car' is the name of the locat program
followed by options. The search pattern
[EMAIL PROTECTED] writes:
Hi Bill,
Hey, that's nice. I'll integrate it in anything-config.el, but I'll
modify it a bit to have the same interface as the action
transformers.
Done!
That would be nice - it would keep the action and candidate transform
definitions consistent.
Yep.
If you
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Hi,
Is there some reason why the following 2 bindings aren't part of
anything-map:
(define-key map (kbd M-v) 'anything-previous-page)
(define-key map (kbd C-v) 'anything-next-page)
The only reason is I saw no need, since it's very easy
[EMAIL PROTECTED] writes:
Hi Bill,
Great, that works nicely - thanks!
Could you also add the following:
(define-key map (kbd C-n) 'anything-next-line)
(define-key map (kbd C-p) 'anything-previous-line)
Sure. Will be done and uploaded in 5 minutes.
Bye,
Tassilo
--
A child of
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Hi all,
the adaptive sorting thingy sounds great and of course I'm happy to
include it. But this weekend is full of other tasks and I'm not even
sure if I have any network connection till monday, so this probably has
to wait a bit.
I plan to remove
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Hi Tamas,
Can't you do that with a defadvice?
Sure I can.
Bye,
Tassilo
___
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Hi Tamas,
So it's an adaptive candidate sorter which learns which candidates
you select frequently and makes them more accessible for you.
Currently, the history of selections is stored and used per source, so
for example a different entry is
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
I think that would make sense. But how would you go with sources
that don't have a type field?
I plan to generalize source attributes, so that type would be a
fallback for those attributes which are not specified by the source.
So, for example,
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Hi Tamas,
One more unconventional example. :)
Indeed.
It's an on-the-fly expression evaluator. You type the list expression
and it shows the result instantly.
(setq anything-sources
'(((name . Calculation Result)
Tassilo Horn [EMAIL PROTECTED] writes:
Hi,
Tassilo's solution is good, but I also fixed anything.el, so that
filtered candidate transformer is run also if the candidate list is
empty. This is is alternative solution.
So with the filtered-candidate-transformer attribute you can add an
Add
[EMAIL PROTECTED] writes:
Hi Bill,
Do you use the latest version of anything-config? Tassilo fixed a bug
in it shortly after he uploaded the new version.
There was exactly the same bug in the action transformer, too. I didn't
return the unmodified actions, if the special entry was not
John Sturdy [EMAIL PROTECTED] writes:
Hi John,
I found a machine I was using didn't have xdvi, so I wrote some elisp
to call dvipng and put the resulting pages together in an Emacs
buffer; then I made it into a major mode, with next and previous
commands, etc.
that's really nice. Indeed I
Tassilo Horn [EMAIL PROTECTED] writes:
Hi,
that's really nice. Indeed I wanted to write something like that for
quite some time, but I never did so...
Anyway, you could make it even better by making it a generic viewer
for DVI, PostScript and PDF files. ImageMagick's `convert' tool can
Xavier Maillard [EMAIL PROTECTED] writes:
Hi Xavier,
I've started to write something down onto emacwiki[1]. It needs still
some work to be usefull.
[1] http://www.emacswiki.org/cgi-bin/wiki/DocViewMode
I've seen it and I left a comment. If you want you can upload it to
emacswiki and keep
Bill Clementson [EMAIL PROTECTED] writes:
Hi Bill,
By the way, another thing that used to bug me was having the woman
initialization done when I didn't configure the man pages source. In
the end, I got around it by defining the vars in my .emacs file before
the anything-config require - eg:
Bill Clementson [EMAIL PROTECTED] writes:
Hi Bill,
Or do you have a better idea?
Something like the following should work:
(defvar anything-c-man-pages nil All man pages on system)
(defvar anything-c-source-man-pages
`((name . Manual Pages)
(candidates . (lambda ()
Xavier Maillard [EMAIL PROTECTED] writes:
Hi Xavier,
I'll try to do that this evening.
Ok. Today I made some major changes to make it more convenient to use,
because doc-view.el is going to be part of GNU Emacs in the near
future. The current version is in my Git repository and a patch is
Bill Clementson [EMAIL PROTECTED] writes:
Hi Bill,
Only the Macports install worked on my Powerbook G4 (and that took
ages to build all the dependencies because Macports builds versions of
the dependencies that work with the package you're installing even if
you have non-Macports versions of
Bill Clementson [EMAIL PROTECTED] writes:
Hi Bill,
1. It is slow: It would probably be better to provide an async mode
option. In other words, instead of waiting for the convert process
to complete, let the user view the pages that have been generated
and periodically, have doc-view
Tim X [EMAIL PROTECTED] writes:
Hi Tim,
5. Dired key: It would be nice to have a defcustom value that would
specify a dired map key that would call doc-view on a file (with a
new doc-view function that doesn't prompt for the file name). This
would make it easier to browse pdf files in dired.
Bill Clementson [EMAIL PROTECTED] writes:
Hi Bill,
Wow, the performance increase with gs is incredible! That's really
amazing. :-)
Yep, but it's a bummer that I dunno how to cut of the margins.
BTW, you might want to add the following bindings to
doc-view-mode-map:
(define-key map
[EMAIL PROTECTED] (Michaël Cadilhac) writes:
Hi Michaël,
(defvar anything-locate-options (if (eq system-type 'darwin)
'(locate)
'(locate -i -r))
A list where the `car' is the name of the locat program
followed by options. The
Uwe Brauer [EMAIL PROTECTED] writes:
Hi Uwe,
There is already a package called remember.el by
;;; remember.el --- a mode for quickly jotting down things to remember
;; Copyright (C) 1999, 2000, 2001 John Wiegley
May be you could use another name?
It's the same. John is the original
35 matches
Mail list logo