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

2007-08-19 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
code cleanup done there won't be any more new features for a while,
because I have other things to attend to, so I'll apply fixes only.

As for the bugs you experience Tassilo didn't mention any problems, so
I don't know what to think. I'll try to replicate them when I have the
time.

/Tamas

___
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-19 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 problems. Mine come from anything-isearch which just
 makes my emacs unusable. There are so many errors that I can't summarize
 all of them. All I can say is that to get my emacs under control by me
 again, I have to kill emacs PID from a console ;) Pressing continuously
 C-g just does nothing here.


Hi,

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 not very robust yet.

/Tamas

___
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-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-sources@gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources


Re: User agent highlighting in gnus

2007-08-19 Thread Reiner Steib
On Sat, Aug 18 2007, Xavier Maillard wrote:

 highlights user-agent header according to three distinct lists of
 good, bad and unknown user-agents.

Using `gnus-header-face-alist' seems much more simple.  Something like
the following...

(add-to-list
 'gnus-header-face-alist
 (list (concat
^
(regexp-opt '(User-Agent X-Mailer Newsreader X-Newsreader) t)
:.*
(regexp-opt '(Gnus Mutt) t))
   nil font-lock-keyword-face))

Bye, Reiner.

Crosspost  Followup-To: gnu.emacs.gnus
-- 
   ,,,
  (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
___
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-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 not very robust yet.

I have no problem with that ;) Take your time.
-- 
Xavier Maillard
___
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-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 anything RET:

John Doe RET

If John DOe is not in my contact base, I would like to be offered to add it.

Thank you.

P.S: it would be cool to have a dedicated mailing list for anything as 
it is growing and this thread is err, really too big for this newsgroup, 
I guess.


Xavier
___
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-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 add an
 Add contact candidate to the list of candidates if it is empty and
 use the action-transformer attribute to change the action list if
 this special candidate is the current selection.

 Hey, that's a very elegant solution.  I'll implement that in
 anything-config.el.

Done and uploaded.

@Tamas: Why is the `anything-pattern' cleared when you hit TAB on a
candidate?  I'd say it's a bug, isn't it?

Bye,
Tassilo
-- 
The  desire  to  be  rewarded  for one's  creativity  does  not  justify
depriving  the world  in  general of  all  or part  of that  creativity.
(Richard M. Stallman)



___
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-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 the anything buffer, when you
press TAB, it normally brings up the Actions for a Type. However, if
you're using the console version of Emacs 22.1, it just inserts a TAB
in the minibuffer. If I change the anything-map definition to:

(define-key map (kbd C-i) 'anything-select-action)

then TAB works properly again. This may be an emacs bug; however, it
is probably best to change the mapping to C-i instead of tab.

Thanks again for fixing the 3 bugs so quickly!

- 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-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 are now fixed - Thanks!

 However, I came across a new one. In the anything buffer, when you
 press TAB, it normally brings up the Actions for a Type. However, if
 you're using the console version of Emacs 22.1, it just inserts a TAB
 in the minibuffer. If I change the anything-map definition to:

 (define-key map (kbd C-i) 'anything-select-action)

 then TAB works properly again. This may be an emacs bug; however, it
 is probably best to change the mapping to C-i instead of tab.


Thanks. I'll fix it next time I touch anything.el

___
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-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
  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 anything RET:

  John Doe RET

  If John DOe is not in my contact base, I would like to be offered to add it.

 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 contact candidate to the list  of candidates if it is empty and
 use the action-transformer attribute to change the action list if this
 special candidate is the current selection.

It looks like either the most recent change to anything.el or the most
recent change to anything-config.el (or a combination of the two) has
broken the normal bbdb actions. For example, if I enter the first
few letters of a contact name and press RET on a selection, I just
exit the anything buffer and don't get the contact details. If I press
TAB on a selection, the anything buffer is cleared.

- 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-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:

[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 anything RET:

John Doe RET

If John DOe is not in my contact base, I would like to be offered to 
add it.

   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 contact candidate to the list  of candidates if it is empty and
   use the action-transformer attribute to change the action list if this
   special candidate is the current selection.

  It looks like either the most recent change to anything.el or the most
  recent change to anything-config.el (or a combination of the two) has
  broken the normal bbdb actions. For example, if I enter the first
  few letters of a contact name and press RET on a selection, I just
  exit the anything buffer and don't get the contact details. If I press
  TAB on a selection, the anything buffer is cleared.

 Hi Bill,

 Do you use the latest version of anything-config? Tassilo fixed a bug
 in it shortly after he uploaded the new version.

Hi Tamas,

Yep, I'm using the latest anything-config (anything-c-
version=2007-08-19 Sun 21:06).

- Bill

___
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources