Re: ;;; anything.el --- open anything

2007-08-31 Thread Tassilo Horn
[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 >>> fo

Re: ;;; anything.el --- open anything

2007-08-31 Thread Michaël Cadilhac
Tassilo Horn <[EMAIL PROTECTED]> writes: > [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

Re: ;;; anything.el --- open anything

2007-08-29 Thread Leo
On 2007-08-25 07:52 +0100, [EMAIL PROTECTED] wrote: > I use Wikipedia a lot, so I made a source similar to Google Suggest > for Wikipedia titles. Here it is if someone's interested: I wonder if anyone has tested anything.el under the unicode 2 branch. For me it causes freezes from time to time. T

Re: ;;; anything.el --- open anything

2007-08-25 Thread [EMAIL PROTECTED]
I use Wikipedia a lot, so I made a source similar to Google Suggest for Wikipedia titles. Here it is if someone's interested: (defvar anything-wikipedia-title-lookup-program nil "The program is called with one argument and it should return matching titles from Wikipedia.") (setq anything-so

Re: ;;; anything.el --- open anything

2007-08-24 Thread Mark Plaksin
Tassilo Horn <[EMAIL PROTECTED]> writes: > Mark Plaksin <[EMAIL PROTECTED]> writes: > > Hi Mark, > >> A friend of mine wants to be able to press the "anything key" twice in >> a row to swap between the two most recent buffers. This should be >> easy but my solution is convoluted. > > Tell your fr

Re: ;;; anything.el --- open anything

2007-08-24 Thread Tassilo Horn
Mark Plaksin <[EMAIL PROTECTED]> writes: Hi Mark, > A friend of mine wants to be able to press the "anything key" twice in > a row to swap between the two most recent buffers. This should be > easy but my solution is convoluted. Tell your friend he should use `anything-c-source-buffers' as buff

Re: ;;; anything.el --- open anything

2007-08-24 Thread Mark Plaksin
Bill Clementson <[EMAIL PROTECTED]> writes: > Hi Tamas/Tassilo, Yes, Hi :) anything and anything-config are awesome! Thanks! > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > >> Hi,, >> >> On Aug 23, 9:58 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: >>> >>> Oh, while I was typing those lines

Re: ;;; anything.el --- open anything

2007-08-24 Thread Bill Clementson
Hi Tassilo, Tassilo Horn <[EMAIL PROTECTED]> writes: > 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

Re: ;;; anything.el --- open anything

2007-08-24 Thread Bill Clementson
Hi Tamas, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: >> > You can try setting anything-source-filter manually and start Anything >> > after that. >> >> It doesn't work if an anything buffer doesn't exist. >> > > I fixed anything.el, so variable anything-source-filters can have an > initial va

Re: ;;; anything.el --- open anything

2007-08-24 Thread Tassilo Horn
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 ()

Re: ;;; anything.el --- open anything

2007-08-24 Thread Bill Clementson
Hi Tassilo, Tassilo Horn <[EMAIL PROTECTED]> writes: > Bill Clementson <[EMAIL PROTECTED]> writes: >> 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 .e

Re: ;;; anything.el --- open anything

2007-08-24 Thread Tassilo Horn
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 -

Re: ;;; anything.el --- open anything

2007-08-23 Thread [EMAIL PROTECTED]
On Aug 24, 12:03 am, Bill Clementson <[EMAIL PROTECTED]> wrote: > Hi Tamas/Tassilo, > > > > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > Hi,, > > > On Aug 23, 9:58 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > > >> Oh, while I was typing those lines I realized that it's possible right > >> n

Re: ;;; anything.el --- open anything

2007-08-23 Thread Bill Clementson
Hi Tamas/Tassilo, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > Hi,, > > On Aug 23, 9:58 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: >> >> Oh, while I was typing those lines I realized that it's possible right >> now! Add every and each source to anything-sources and fire up anything >> with

Re: ;;; anything.el --- open anything

2007-08-23 Thread [EMAIL PROTECTED]
Hi,, On Aug 23, 9:58 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > > Oh, while I was typing those lines I realized that it's possible right > now! Add every and each source to anything-sources and fire up anything > with > > (defun th-anything () > (interactive) > (anything-set-source-filter

Re: ;;; anything.el --- open anything

2007-08-23 Thread Tassilo Horn
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: Hi Tamas, >> I need to look through your newes changes and see how I can make some >> sane defaults for anything-config. Especially the dynamic source >> selection is cool. Does it only suppress listing of source results >> or does it suppress cal

Re: ;;; anything.el --- open anything

2007-08-23 Thread [EMAIL PROTECTED]
On Aug 23, 8:57 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > On Aug 23, 6:54 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > >> Here's a Google Suggest source. Requires the latest anything.el. > > > There may be a few linebreak errors in

Re: ;;; anything.el --- open anything

2007-08-23 Thread Tassilo Horn
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > On Aug 23, 6:54 pm, "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> wrote: >> Here's a Google Suggest source. Requires the latest anything.el. > > There may be a few linebreak errors in it due to Google Groups. Sorry > about that. I fixed them and added

Re: ;;; anything.el --- open anything

2007-08-23 Thread [EMAIL PROTECTED]
On Aug 23, 6:54 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Here's a Google Suggest source. Requires the latest anything.el. > There may be a few linebreak errors in it due to Google Groups. Sorry about that. ___ gnu-emacs-sources mailing list

Re: ;;; anything.el --- open anything

2007-08-23 Thread [EMAIL PROTECTED]
Here's a Google Suggest source. Requires the latest anything.el. (setq anything-sources '(((name . "Google Suggest") (candidates . (lambda () (let ((suggestions (anything-google-suggest-fetch anything- input))) (if (some (lambda (suggestion) (eq

Re: ;;; anything.el --- open anything

2007-08-20 Thread Bill Clementson
- Bill ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Re: ;;; anything.el --- open anything

2007-08-20 Thread billclem
Hi Tassilo, On Aug 19, 11:30 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] writes: > >> 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.

Re: ;;; anything.el --- open anything

2007-08-19 Thread Tassilo Horn
[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 sel

Re: ;;; anything.el --- open anything

2007-08-19 Thread billclem
On Aug 19, 9:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Aug 20, 12:47 am, [EMAIL PROTECTED] wrote: > > > > > Hi Tamas/Tassilo, > > > On Aug 19, 9:39 am, "[EMAIL PROTECTED]" > > > <[EMAIL PROTECTED]> wrote: > > > On Aug 19, 4:04 pm, Xavier Maillard <[EMAIL PROTECTED]> wrote: > > > >

Re: ;;; anything.el --- open anything

2007-08-19 Thread [EMAIL PROTECTED]
On Aug 20, 12:47 am, [EMAIL PROTECTED] wrote: > Hi Tamas/Tassilo, > > On Aug 19, 9:39 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > On Aug 19, 4:04 pm, Xavier Maillard <[EMAIL PROTECTED]> wrote: > > > > [EMAIL PROTECTED] wrote: > > > > Let me know what you think. > > > > I just lov

Re: ;;; anything.el --- open anything

2007-08-19 Thread billclem
Hi Tamas/Tassilo, On Aug 19, 9:39 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Aug 19, 4:04 pm, Xavier Maillard <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] wrote: > > > Let me know what you think. > > > I just love the idea and the way it is currently working. I will try to > > h

Re: ;;; anything.el --- open anything

2007-08-19 Thread [EMAIL PROTECTED]
On Aug 19, 8:40 pm, [EMAIL PROTECTED] wrote: > Hi Tassilo, > > On Aug 19, 2:55 am, Tassilo Horn <[EMAIL PROTECTED]> wrote: > > > bugs one and three should be fixed now. For bug two, please tell me > > exactly how you can reproduce it. And do `M-x toggle-debug-on-error' > > before. > > All 3 bugs

Re: ;;; anything.el --- open anything

2007-08-19 Thread [EMAIL PROTECTED]
On Aug 19, 8:35 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > 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 solutio

Re: ;;; anything.el --- open anything

2007-08-19 Thread billclem
Hi Tassilo, On Aug 19, 2:55 am, Tassilo Horn <[EMAIL PROTECTED]> wrote: > bugs one and three should be fixed now. For bug two, please tell me > exactly how you can reproduce it. And do `M-x toggle-debug-on-error' > before. All 3 bugs are now fixed - Thanks! However, I came across a new one. In

Re: ;;; anything.el --- open anything

2007-08-19 Thread Tassilo Horn
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 ad

Re: ;;; anything.el --- open anything

2007-08-19 Thread Tassilo Horn
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: Hi Tamas, >> I just love the idea and the way it is currently working. I will try >> to hack on it too to add my own sources. >> >> By the way, do you thing it is doable to add a contact just by >> entering his name. >> >> Say for example, I am typi

Re: ;;; anything.el --- open anything

2007-08-19 Thread [EMAIL PROTECTED]
On Aug 19, 6:22 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > > But I really don't think that this would be more comfortable > than > > M-x bbdb-create RET > It's a matter of taste, but I think it's more comfortable, because you don't have to think about which command to use (anything or b

Re: ;;; anything.el --- open anything

2007-08-19 Thread [EMAIL PROTECTED]
On Aug 19, 4:04 pm, Xavier Maillard <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Let me know what you think. > > I just love the idea and the way it is currently working. I will try to > hack on it too to add my own sources. > > By the way, do you thing it is doable to add a contact ju

Re: ;;; anything.el --- open anything

2007-08-19 Thread Tassilo Horn
Xavier Maillard <[EMAIL PROTECTED]> writes: Hi Xavier, > I just love the idea and the way it is currently working. I will try > to hack on it too to add my own sources. I'd be happy if you send me your sources so that I can add them in anything-config.el. > By the way, do you thing it is doable

Re: ;;; anything.el --- open anything

2007-08-19 Thread Xavier Maillard
[EMAIL PROTECTED] wrote: Let me know what you think. I just love the idea and the way it is currently working. I will try to hack on it too to add my own sources. By the way, do you thing it is doable to add a contact just by entering his name. Say for example, I am typing this after M-x

Re: ;;; anything.el --- open anything

2007-08-19 Thread Xavier Maillard
Hello Tamas, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > anything-isearch is only a toy feature I whipped up quickly, so it's > not tested extensively. Drew Adams has a patch which makes it usable, > but I didn't yet have time to integrate it, so yes, isearch in the > official version is no

Re: ;;; anything.el --- open anything

2007-08-19 Thread Tassilo Horn
Hi Bill, bugs one and three should be fixed now. For bug two, please tell me exactly how you can reproduce it. And do `M-x toggle-debug-on-error' before. Bye, Tassilo -- Chuck Norris runs on batteries. Specifically, Die Hards. ___ gnu-emacs-sourc

Re: ;;; anything.el --- open anything

2007-08-19 Thread Tassilo Horn
[EMAIL PROTECTED] writes: Hi Bill, > I've been traveling the past week so have only just downloaded the > latest versions of anything.el (revision 66) and anything-config.el > (revision 34). I see that there have been some structural changes as > well as some new functionality added. Unfortunatel

Re: ;;; anything.el --- open anything

2007-08-19 Thread sunway
maybe a bug of anything.el: when i use anything-isearch , the menu bar will disapear. -- signature: The trouble with the rat-race is that even if you win, you're still a rat. -- Lily Tomlin ___ gnu-emacs-sources mailing list gnu-emacs-so

Re: ;;; anything.el --- open anything

2007-08-18 Thread [EMAIL PROTECTED]
On Aug 19, 6:48 am, Xavier Maillard <[EMAIL PROTECTED]> wrote: > Hill Bill, > > [EMAIL PROTECTED] wrote: > > Are things still in a state of flux and I should hold off taking the > > more recent code or am I the only one experiencing these problems with > > the latest releases? > > I also experience

Re: ;;; anything.el --- open anything

2007-08-18 Thread [EMAIL PROTECTED]
On Aug 19, 4:33 am, [EMAIL PROTECTED] wrote: > > Are things still in a state of flux and I should hold off taking the > more recent code or am I the only one experiencing these problems with > the latest releases? > Hi Bill, Things shouldn't be in a state fof flux. In fact, with the last major co

Re: ;;; anything.el --- open anything

2007-08-18 Thread Xavier Maillard
Hill Bill, [EMAIL PROTECTED] wrote: Are things still in a state of flux and I should hold off taking the more recent code or am I the only one experiencing these problems with the latest releases? I also experience problems. Mine come from anything-isearch which just makes my emacs unusable.

Re: ;;; anything.el --- open anything

2007-08-18 Thread billclem
Hi Tassilo & Tamas, I've been traveling the past week so have only just downloaded the latest versions of anything.el (revision 66) and anything-config.el (revision 34). I see that there have been some structural changes as well as some new functionality added. Unfortunately, a lot of things seem

Re: ;;; anything.el --- open anything

2007-08-18 Thread Xavier Maillard
Mathias Dahl wrote: > Mathias Dahl <[EMAIL PROTECTED]> writes: > >> Add this to your anything sources: >> >> ... >> ((name . "Jabber Contacts") >>(candidates . (lambda () >>(mapcar (lambda (x) (car x)) (my-jabber-list-

Re: ;;; anything.el --- open anything

2007-08-13 Thread [EMAIL PROTECTED]
On Aug 13, 3:29 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > And I added an > on-the-fly math expression evaluator using `calc-eval' as "Calculation > Result" source. calc-eval! That was I was looking for, only I could not find it. I only posted it as an inspirational example, but thanks for ad

Re: ;;; anything.el --- open anything

2007-08-13 Thread Tassilo Horn
"[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") > (re

Re: ;;; anything.el --- open anything

2007-08-10 Thread [EMAIL PROTECTED]
On Aug 10, 1:06 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > It's not really readable, so here's the second attempt: > One more unconventional example. :) It's an on-the-fly expression evaluator. You type the list expression and it shows the result instantly. (setq anything-sources

Re: ;;; anything.el --- open anything

2007-08-10 Thread [EMAIL PROTECTED]
It's not really readable, so here's the second attempt: (setq anything-sources `(((name . "Notes") (candidates ,(list "Add new note")) (match (lambda (candidate) t)) (action . (("Add Input to Notes" . (lambda (dummy)

Re: ;;; anything.el --- open anything

2007-08-10 Thread [EMAIL PROTECTED]
Here's a little idea to prove Anything is not just about selecting stuff. :) I whipped up a source for quickly appending notes to a file. Some may find it useful: (setq anything-sources `(((name . "Notes") (candidates ,(list "Add new note")) (ma

Re: ;;; anything.el --- open anything

2007-08-07 Thread Tassilo Horn
"[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, f

Re: ;;; anything.el --- open anything

2007-08-07 Thread [EMAIL PROTECTED]
On Aug 7, 8:55 am, Tassilo Horn <[EMAIL PROTECTED]> wrote: > "[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 sel

Re: ;;; anything.el --- open anything

2007-08-06 Thread Tassilo Horn
"[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 ent

Re: ;;; anything.el --- open anything

2007-08-06 Thread [EMAIL PROTECTED]
On Aug 7, 7:06 am, [EMAIL PROTECTED] wrote: > > Sounds good; however, I don't see the changes reflected in anything- > adaptive yet (http://www.emacswiki.org/cgi-bin/wiki? > action=history;id=anything-adaptive.el). Are you still working on > them? No, I haven't even started yet. :) It was just the

Re: ;;; anything.el --- open anything

2007-08-06 Thread billclem
On Aug 6, 9:55 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Aug 6, 11:52 pm, [EMAIL PROTECTED] wrote: > > > > > My preference would be to have the selected history handling done by > > type rather than source. For example, I might be regularly editing a > > file1.txt (and thus file1.txt

Re: ;;; anything.el --- open anything

2007-08-06 Thread billclem
On Aug 6, 9:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Aug 7, 12:35 am, "Bill Clementson" <[EMAIL PROTECTED]> wrote: > > > > > Yes, but it isn't fixed in the update that Tamas posted - that is why > > I mentioned it again and indicated that "this is for Tamas". > > It's fixed now.

Re: ;;; anything.el --- open anything

2007-08-06 Thread [EMAIL PROTECTED]
On Aug 6, 11:52 pm, [EMAIL PROTECTED] wrote: > > My preference would be to have the selected history handling done by > type rather than source. For example, I might be regularly editing a > file1.txt (and thus file1.txt would appear in and I would be selecting > it from the "File Name History" sou

Re: ;;; anything.el --- open anything

2007-08-06 Thread [EMAIL PROTECTED]
On Aug 7, 12:35 am, "Bill Clementson" <[EMAIL PROTECTED]> wrote: > > Yes, but it isn't fixed in the update that Tamas posted - that is why > I mentioned it again and indicated that "this is for Tamas". > It's fixed now. /Tamas ___ gnu-emacs-sources mai

Re: ;;; anything.el --- open anything

2007-08-06 Thread billclem
On Aug 6, 12:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Aug 3, 3:21 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > > So it's an adaptive candidate sorter which learns which candidates you > > select frequently and makes them more accessible for you. > > Currently, the h

Re: ;;; anything.el --- open anything

2007-08-06 Thread Bill Clementson
On 8/6/07, Drew Adams <[EMAIL PROTECTED]> wrote: > > Oh, just one minor point (and this is for Tamas) - issue #1 still > > hasn't been fixed: > > > > > 1. (minor) There is a space at the beginning of " (defun anything- > > > maybe-fit-frame ()" that should be removed. > > > > It's not just cosmetic

RE: ;;; anything.el --- open anything

2007-08-06 Thread Drew Adams
> Oh, just one minor point (and this is for Tamas) - issue #1 still > hasn't been fixed: > > > 1. (minor) There is a space at the beginning of " (defun anything- > > maybe-fit-frame ()" that should be removed. > > It's not just cosmetic (or me being pedantic) - several elisp > functions assume de

Re: ;;; anything.el --- open anything

2007-08-06 Thread billclem
On Aug 6, 1:37 pm, "Bill Clementson" <[EMAIL PROTECTED]> wrote: > On 8/6/07, Drew Adams <[EMAIL PROTECTED]> wrote: > > > > > > > In sum, either update `fit-frame.el' or remove it from your `load-path'. > > > > Anything should work fine in either case. > > > > You're correct (my mistake) - fit-frame

Re: ;;; anything.el --- open anything

2007-08-06 Thread [EMAIL PROTECTED]
On Aug 3, 3:21 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > 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

Re: ;;; anything.el --- open anything

2007-08-06 Thread Bill Clementson
On 8/6/07, Drew Adams <[EMAIL PROTECTED]> wrote: > > > In sum, either update `fit-frame.el' or remove it from your `load-path'. > > > Anything should work fine in either case. > > > > You're correct (my mistake) - fit-frame is not part of GNU Emacs. > > However, it is bundled with Aquamacs Emacs (t

RE: ;;; anything.el --- open anything

2007-08-06 Thread Drew Adams
> > In sum, either update `fit-frame.el' or remove it from your `load-path'. > > Anything should work fine in either case. > > You're correct (my mistake) - fit-frame is not part of GNU Emacs. > However, it is bundled with Aquamacs Emacs (the emacs that I use on my > Mac), so it will be present for

RE: ;;; anything.el --- open anything

2007-08-06 Thread Drew Adams
> Another problem: > 3. If I use the fit-frame-inhibit-fitting-flag equivalent (setq > inhibit-fit-frame-flag nil), that prevents the fit-frame code from > executing; however, the modify-frame-parameters call in anything-maybe- > fit-frame still gets executed (which results in the existing frame >

Re: ;;; anything.el --- open anything

2007-08-06 Thread billclem
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > On Aug 6, 7:33 pm, [EMAIL PROTECTED] wrote: >> >> 2. The call to fit-frame in anything-maybe-fit-frame passes in 4 >> params. The 4th parameter to fit-frame was only added on July 21, >> 2007. Therefore, this causes breakage for anyone using a rele

Re: ;;; anything.el --- open anything

2007-08-06 Thread [EMAIL PROTECTED]
On Aug 6, 7:33 pm, [EMAIL PROTECTED] wrote: > > 2. The call to fit-frame in anything-maybe-fit-frame passes in 4 > params. The 4th parameter to fit-frame was only added on July 21, > 2007. Therefore, this causes breakage for anyone using a released > version of emacs or a CVS emacs that is not pret

Re: ;;; anything.el --- open anything

2007-08-06 Thread billclem
On Aug 6, 10:33 am, [EMAIL PROTECTED] wrote: > Hi Tamas, > > On Aug 3, 10:16 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > The new version is uploaded to emacs wiki. > > In the latest revision (revision 58) of anything.el, there are a > couple of things that need fixing: > > 1. (minor)

Re: ;;; anything.el --- open anything

2007-08-06 Thread Bill Clementson
Hi Drew, On 8/6/07, Drew Adams <[EMAIL PROTECTED]> wrote: > > 2. The call to fit-frame in anything-maybe-fit-frame passes in 4 > > params. The 4th parameter to fit-frame was only added on July 21, > > 2007. Therefore, this causes breakage for anyone using a released > > version of emacs or a CVS e

RE: ;;; anything.el --- open anything

2007-08-06 Thread Drew Adams
> 2. The call to fit-frame in anything-maybe-fit-frame passes in 4 > params. The 4th parameter to fit-frame was only added on July 21, > 2007. Therefore, this causes breakage for anyone using a released > version of emacs or a CVS emacs that is not pretty recent. Since the > params are optional, yo

Re: ;;; anything.el --- open anything

2007-08-06 Thread billclem
Hi Tamas, On Aug 3, 10:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The new version is uploaded to emacs wiki. In the latest revision (revision 58) of anything.el, there are a couple of things that need fixing: 1. (minor) There is a space at the beginning of " (defun anything- maybe-f

Re: ;;; anything.el --- open anything

2007-08-05 Thread [EMAIL PROTECTED]
On Aug 5, 3:31 pm, Richard Stallman <[EMAIL PROTECTED]> wrote: > Can't you do that with a defadvice? I was tempted to add a hook for > adaptive sorting too, but I decided to use advice instead, because I > don't want to add stuff which only serves a particular purpose and can > be i

Re: ;;; anything.el --- open anything

2007-08-05 Thread Richard Stallman
Can't you do that with a defadvice? I was tempted to add a hook for adaptive sorting too, but I decided to use advice instead, because I don't want to add stuff which only serves a particular purpose and can be implemented with standard emacs methods. If we hope to install this in

Re: ;;; anything.el --- open anything

2007-08-04 Thread Tassilo Horn
"[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

Re: ;;; anything.el --- open anything

2007-08-04 Thread [EMAIL PROTECTED]
Hi, On Aug 4, 4:48 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > > Another thing: Could you provide a hook that is run after > anything-pattern changes but before the candidates are calculated? > Can't you do that with a defadvice? I was tempted to add a hook for adaptive sorting too, but I decid

Re: ;;; anything.el --- open anything

2007-08-04 Thread Tassilo Horn
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > Yeah, I also thought about the long names. Maybe the prefix should be > simply anything-conf- or anything-c- or something. Now it's anything-config- and it's acceptable. Another thing: Could you provide a hook that is run after anything-pattern c

Re: ;;; anything.el --- open anything

2007-08-04 Thread [EMAIL PROTECTED]
On Aug 4, 3:51 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > He Tamas, > > > BTW, shouldn't all symbols (except those overwriting anything.el > > values) in anything-config be prefixed with anything-config- instead > > of simply anything- ? > > >

Re: ;;; anything.el --- open anything

2007-08-04 Thread Tassilo Horn
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: He Tamas, > BTW, shouldn't all symbols (except those overwriting anything.el > values) in anything-config be prefixed with anything-config- instead > of simply anything- ? > > If they had been then functions wouldn't have overdefined each other > in

Re: ;;; anything.el --- open anything

2007-08-03 Thread [EMAIL PROTECTED]
Hi, On Aug 3, 11:28 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > > So if you remove the duplicate functions that would solve all problems > for us. Could you please copy functions that are needed by > `anything-sources', e.g. `anything-buffer-list' from anything-config? > The only function was

Re: ;;; anything.el --- open anything

2007-08-03 Thread [EMAIL PROTECTED]
On Aug 3, 11:15 pm, [EMAIL PROTECTED] wrote: > > With some limited testing, anything now seems > to be returning things according to the history values. Glad it's working. Do you like it? :) > However, if > anything-filtered-candidate-transformers is nil, there shouldn't be > any history written.

Re: ;;; anything.el --- open anything

2007-08-03 Thread billclem
On Aug 3, 1:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > On Aug 3, 10:08 pm, [EMAIL PROTECTED] wrote: > > > > > The last file I selected with a search pattern of "anyt" was > > anything.el (with a count of 2 times using that pattern) but the file > > I've selected most frequently

Re: ;;; anything.el --- open anything

2007-08-03 Thread Tassilo Horn
"[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 rem

Re: ;;; anything.el --- open anything

2007-08-03 Thread billclem
Hi Tamas, On Aug 3, 10:38 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I tried it and it didn't work for me either. :) Aha, very sneaky way to check whether anyone had tried out the code! ;-) > I left a bug in it > which I now fixed. It should work now. > > I uploaded it to Emacs Wiki t

Re: ;;; anything.el --- open anything

2007-08-03 Thread [EMAIL PROTECTED]
Hi, On Aug 3, 10:08 pm, [EMAIL PROTECTED] wrote: > > The last file I selected with a search pattern of "anyt" was > anything.el (with a count of 2 times using that pattern) but the file > I've selected most frequently is anything-config.el (with a count of 4 > times using that pattern) so I would

Re: ;;; anything.el --- open anything

2007-08-03 Thread [EMAIL PROTECTED]
On Aug 3, 6:47 pm, [EMAIL PROTECTED] wrote: > > 2. If you load anything.el after anything-config.el, Tamas will need > to wrap his defun's with a check to see whether a function is already > defined and only do the defun if the function hasn't already been > defined. I plan to remove all the examp

Re: ;;; anything.el --- open anything

2007-08-03 Thread [EMAIL PROTECTED]
On Aug 3, 7:38 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Aug 3, 7:10 pm, [EMAIL PROTECTED] wrote: > > > > > Hi Tamas, > > > On Aug 3, 6:21 am, "[EMAIL PROTECTED]" > > > <[EMAIL PROTECTED]> wrote: > > > Here's a demontstration for the option (anything-filtered-candidate- > > > transfor

Re: ;;; anything.el --- open anything

2007-08-03 Thread [EMAIL PROTECTED]
On Aug 3, 7:10 pm, [EMAIL PROTECTED] wrote: > Hi Tamas, > > On Aug 3, 6:21 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > Here's a demontstration for the option (anything-filtered-candidate- > > transformers) added today. > > > I didn't want to stuff into anything.el, so I post it h

Re: ;;; anything.el --- open anything

2007-08-03 Thread billclem
Hi Tamas, On Aug 3, 6:21 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Here's a demontstration for the option (anything-filtered-candidate- > transformers) added today. > > I didn't want to stuff into anything.el, so I post it here. Maybe it > should go to anything-config.el. > > It's a can

Re: ;;; anything.el --- open anything

2007-08-03 Thread billclem
Hi Tassilo, Tassilo Horn <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] writes: >> Restoring the eval-after-load statement at the top of the code and >> eliminating the (require 'anything) at the bottom of the code fixes >> things. > > But with the eval-after-load anything.el was loaded before >

Re: ;;; anything.el --- open anything

2007-08-03 Thread [EMAIL PROTECTED]
Here's a demontstration for the option (anything-filtered-candidate- transformers) added today. I didn't want to stuff into anything.el, so I post it here. Maybe it should go to anything-config.el. It's a candidate sorter which places those candidates first in the list of matches which you select

Re: ;;; anything.el --- open anything

2007-08-03 Thread Tassilo Horn
[EMAIL PROTECTED] writes: Hi Bill, > Restoring the eval-after-load statement at the top of the code and > eliminating the (require 'anything) at the bottom of the code fixes > things. But with the eval-after-load anything.el was loaded before anything-config.el and then the keymaps of anything.e

Re: ;;; anything.el --- open anything

2007-08-02 Thread billclem
Hi Tassilo, After installing the latest code, I noticed that my custom anything- boring-file-regexp settings no longer seemed to work. I diff'ed the code and found that, as part of the last set of mods you made, you eliminated: ;;; Startup ;; Require anything after this file has been loaded. Thi

Re: ;;; anything.el --- open anything

2007-08-02 Thread billclem
Tassilo Horn <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] writes: >> 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 up

Re: ;;; anything.el --- open anything

2007-08-02 Thread billclem
Hi Tamas, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > On Aug 2, 9:22 am, [EMAIL PROTECTED] wrote: >> >> Is M-v bound to something in iswitchb? I had a look but didn't see any >> binding in the iswitchb source. > > No, but the iswithcb integration bounds ESC (alas, hardcoded) and it > overrid

Re: ;;; anything.el --- open anything

2007-08-02 Thread Tassilo Horn
[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

Re: ;;; anything.el --- open anything

2007-08-02 Thread billclem
Tassilo Horn <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] writes: >>> Now you've heard it. I'll add an option that will define standard >>> keymaps before loading anything.el. >>> >>> What do you think should be its default? Standard keymaps would be more >>> logical for new users whereas the an

Re: ;;; anything.el --- open anything

2007-08-02 Thread [EMAIL PROTECTED]
On Aug 2, 6:12 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] writes: > > Hi Bill, > > >> Now you've heard it. I'll add an option that will define standard > >> keymaps before loading anything.el. > > >> What do you think should be its default? Standard keymaps would be more > >> l

Re: ;;; anything.el --- open anything

2007-08-02 Thread [EMAIL PROTECTED]
Hi, On Aug 2, 9:22 am, [EMAIL PROTECTED] wrote: > > Is M-v bound to something in iswitchb? I had a look but didn't see any > binding in the iswitchb source. No, but the iswithcb integration bounds ESC (alas, hardcoded) and it overrides every Meta bindings. I'll take a look at the keybindings som

Re: ;;; anything.el --- open anything

2007-08-02 Thread Tassilo Horn
[EMAIL PROTECTED] writes: Hi Bill, >> Now you've heard it. I'll add an option that will define standard >> keymaps before loading anything.el. >> >> What do you think should be its default? Standard keymaps would be more >> logical for new users whereas the anything bindings would be good for >>

Re: ;;; anything.el --- open anything

2007-08-02 Thread billclem
On Aug 2, 12:03 am, Tassilo Horn <[EMAIL PROTECTED]> wrote: > "[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 m

  1   2   >