Re: Annoying pop-ups

2014-02-05 Thread Ivan Kanis
February, 04 at 21:33 Christian Lynbech wrote:

> Is there a way to suppress this behaviour?

Looking at my configuration this looks promising:

(setq bbdb-completion-display-record nil)


-- 
Every time I paint a portrait I lose a friend.
-- John Singer Sargeant

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Announcing BBDB records in the Gnus summary buffer

2012-12-27 Thread Ivan Kanis
"Roland Winkler"  wrote:

> bbdb-gnus.el contains some code for announcing BBDB records in the
> summary buffer. It includes the user variables
>
>   bbdb/gnus-summary-mark-known-posters
>   bbdb/gnus-summary-show-bbdb-names
>   bbdb/gnus-summary-prefer-bbdb-data
>   bbdb/gnus-summary-prefer-real-names
>
> controling what is actually displayed and when.  Is anyone using this?
> I found that it is rather difficult to figure out how these four
> variables control the "announcements".

Hi Roland,

I am not using any of this.
-- 
Ivan Kanis
http://ivan.kanis.fr

Stolen sweets are best.
-- Colley Cibber

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: name for list of notes fields (was Re: Add some BBDB tests)

2012-08-13 Thread Ivan Kanis
"Roland Winkler"  wrote:

> On Sun Aug 12 2012 Leo wrote:
>> (bbdb-defstruct record
>>   firstname lastname affix aka organization phone address mail notes cache)
>> 
>> We should rename `notes' in the above to `ext' (for extensions). `notes'
>> and `note' are both used in the BBDB and they confuse me every time.
>
>
> Votes are welcome!

My vote is to keep notes. I have used BBDB for years and have never seen
note (without an s at the end). Furthermore ext makes me think of phone
of extension which I think this field is not about.
-- 
Ivan Kanis
http://ivan.kanis.fr

The web, then, or the pattern; a web at once sensuous and logical, an
elegant and pregnant texture: that is style, that is the foundation of
the art of literature.
-- Robert Louis Stevenson

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: error while completing name

2012-08-06 Thread Ivan Kanis
"Roland Winkler"  wrote:

> On Sun Aug 5 2012 Ivan Kanis wrote:
>> I am running emacs bzr. I get the following error from time to
>> time:
>
> I am sorry, this backtrace is rather difficult to read because of
> extra linebreaks added by some mail program. Could you please send
> it again in some mime encoded / compressed format that protects the
> original format of the backtrace?

Hi, will do next time it happens.

Take care,
-- 
Ivan Kanis
http://ivan.kanis.fr

Laws grind the poor, and rich men rule the law.
-- Oliver Goldsmith

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


error while completing name

2012-08-05 Thread Ivan Kanis
tions) 
(error "No mail address for \"%s\"" orig)) ((eq 1 (length dwim-completions)) 
(delete-region beg end) (insert (car dwim-completions)) (setq done (quote 
unique))) (t (setq done (quote choose))) (when (and (not done) 
bbdb-complete-mail-allow-cycling) (let* ((address 
(mail-extract-address-components orig)) (record (and (listp address) (car (or 
... ... (mails (and record (bbdb-record-mail record (if mails (cond ((= 
1 (length mails)) (setq done (quote unchanged))) (cycle-completion-buffer (setq 
dwim-completions (mapcar ... mails) done (quote choose))) (t (let (...) 
(delete-region beg end) (insert ...) (setq done ...))) (cond ((eq done 
(quote unique)) (if (and (not (auto-fill-function)) (>= (current-column) 
fill-column)) (save-excursion (when (search-backward "," 
(line-beginning-position) t) (forward-char 1) (insert "\n   " (if 
bbdb-completion-display-record (let ((bbdb-silent-internal t)) 
(bbdb-pop-up-window) (bbdb-display-records-internal (list one-record) nil t))) 
(run-hooks (quote bbdb-complete-mail-hook))) ((eq done (quote choose)) (unless 
(eq (selected-window) (minibuffer-window)) (message "Making completion 
list...")) (unless (get-buffer-window "*Completions*") (setq 
bbdb-complete-mail-saved-window-config (current-window-configuration))) (let 
((completion-base-position (list beg end))) (with-output-to-temp-buffer 
"*Completions*" (display-completion-list dwim-completions))) (unless (eq 
(selected-window) (minibuffer-window)) (message "Making completion 
list...done")))) done)
  bbdb-complete-name()
  message-expand-name()
  #[(G53600) "J \210\301\207" [G53600 completion-attempted] 1](--fun--)
  apply(#[(G53600) "J \210\301\207" [G53600 completion-attempted] 1] --fun-- 
nil)
  (lambda (&rest --cl-rest--) (apply (quote #[(G53600) "J \210\301\207" 
[G53600 completion-attempted] 1]) (quote --fun--) --cl-rest--))()
  completion-at-point()
  message-tab()
  call-interactively(message-tab nil nil)

-- 
Ivan Kanis
http://ivan.kanis.fr

The doctors told me I would never walk again, but my mother told me I
would, so I believed my mother.
-- Wilma Rudolph

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: [BBDB] ChangeLog 2012-07-18

2012-07-25 Thread Ivan Kanis
"Roland Winkler"  wrote:

> On Tue Jul 17 2012 Ivan Kanis wrote:
>> I was trying to bind SPC to scroll down and couldn't. It seem there is
>> some code overriding the binding. I have no idea what it does and maybe
>> it should be removed?
>
> Your patch completely disables the electric command loop. How about
> the following patch?

It works for me.
-- 
Ivan Kanis
http://ivan.kanis.fr

Love - is anterior to Life -
Posterior - to Death -
Initial of Creation, and
The Exponent of Earth.
-- Emily Dickinson

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb smashes my key bindings

2012-07-21 Thread Ivan Kanis
"Roland Winkler"  wrote:

>> It's even got the binding I want ;)
>
> What do you want to say here?

I want SPC to be bound to scroll-up.
-- 
Ivan Kanis
http://ivan.kanis.fr

The average Ph.D. thesis is nothing but the transference of bones
from one graveyard to another.
-- Frank J. Dobie

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb smashes my key bindings

2012-07-18 Thread Ivan Kanis
"Roland Winkler"  wrote:

> For me, the SPC key is undefined in BBDB. By chance, have you
> bbdb-electric set to t? This is for BBDB's electric mode, which
> gives exactly the behavior you describe. It's intended for quickly
> looking up things in BBDB and leaving it afterwards.
> Use bbdb-electric's default value nil and you can use SPC for
> whatever you like.

I have bbdb-electric set to nil and SPC is defined in bbdb.el:

(define-key km "\C-xnd" 'bbdb-display-current-record)

(define-key km [delete] 'scroll-down)
(define-key km " "  'scroll-up)

(define-key km [mouse-3]'bbdb-mouse-menu)

It's even got the binding I want ;)
-- 
Ivan Kanis
http://ivan.kanis.fr

The one advantage of playing with fire is that one never gets even
singed. It is the people who don't know how to play with it who get
burned up.
-- Oscar Wilde

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bbdb smashes my key bindings

2012-07-17 Thread Ivan Kanis
Hi Roland,

I was trying to bind SPC to scroll down and couldn't. It seem there is
some code overriding the binding. I have no idea what it does and maybe
it should be removed?

diff --git a/emacs/bbdb/bbdb.el b/emacs/bbdb/bbdb.el
index c0fb095..a21beea 100644
--- a/emacs/bbdb/bbdb.el
+++ b/emacs/bbdb/bbdb.el
@@ -2808,13 +2808,8 @@ Move point to the end of the inserted record."
 (if (and (not bbdb-window)
  (or bbdb-electric electric-p))
 (progn
-  (define-key bbdb-mode-map " " 'bbdb-electric-done)
   (bbdb-electric-display-records records))
-  (bbdb-display-records-internal records layout append select horiz-p)
-  ;; do not smash keybinding if they invoked `bbdb-display'
-  ;; from inside an electric loop.
-  (unless bbdb-inside-electric-display
-(define-key bbdb-mode-map " " 'undefined)
+  (bbdb-display-records-internal records layout append select horiz-p
 
 (defun bbdb-display-records-internal (records &optional layout append
       select horiz-p)

-- 
Ivan Kanis
http://ivan.kanis.fr

Academic politics is the most vicious and bitter form of politics,
because the stakes are so low.
-- Wallace Sayre

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: creating new record and subject line

2012-07-13 Thread Ivan Kanis
Sam Steingold  wrote:

> So, where is the code? :-)

You may want to look at how org capture does it.
-- 
Ivan Kanis
http://ivan.kanis.fr

If you pick up a starving dog and make him prosperous, he will not
bite you. This is the principal difference between a dog and a man.
-- Mark Twain

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: [PATCH] recover key ; edit record notes

2012-01-15 Thread Ivan Kanis
"Roland Winkler"  wrote:

> On Sat Jan 14 2012 Ivan Kanis wrote:
>> A trivial patch to recover the key ";" behavior of the old bbdb. I
>> use it often.

> So I am tempted to say that anyone needing such a command (or any
> other command bbdb-record-edit-foo) can write it for him- or herself
> and put it in the init field.

Do you mean that people should add code to their customization? It takes
a bit of knowledge to figure it out.

> I'd be more interested in a more generic approach that works not only
> for a particular field (without moving point on that field as required
> by bbdb-edit-field).

I am not sure I understand the specification. Would it be a function
that prompts for a field? How would it make ";" work again?

Take care,
-- 
Ivan Kanis
http://kanis.fr

A lie gets halfway around the world before the truth has a chance to
get its pants on.
-- Winston Churchill

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


[PATCH] recover key ; edit record notes

2012-01-14 Thread Ivan Kanis
Hi Roland,

A trivial patch to recover the key ";" behavior of the old bbdb. I use
it often.

Take care,

Ivan

diff --git a/emacs/bbdb/bbdb-com.el b/emacs/bbdb/bbdb-com.el
index 4a5af00..817de33 100644
--- a/emacs/bbdb/bbdb-com.el
+++ b/emacs/bbdb/bbdb-com.el
@@ -918,6 +918,12 @@ then the entire field is edited, not just the current 
line."
 (bbdb-change-record record bbdb-need-to-sort)
 (bbdb-redisplay-record record)))
 
+;;;###autoload
+(defun bbdb-record-edit-notes ()
+  "Edit notes of current record."
+  (interactive)
+  (bbdb-edit-field (bbdb-current-record) 'notes))
+
 (defun bbdb-record-edit-name (record &optional first-and-last)
   (let (fn ln new-name old-name)
 (bbdb-error-retry
Modified emacs/bbdb/bbdb.el
diff --git a/emacs/bbdb/bbdb.el b/emacs/bbdb/bbdb.el
index 44c4181..c0fb095 100644
--- a/emacs/bbdb/bbdb.el
+++ b/emacs/bbdb/bbdb.el
@@ -1533,6 +1533,7 @@ APPEND and INVERT appear in the message area.")
 (define-key km "*"  'bbdb-do-all-records)
 (define-key km "+"  'bbdb-append-display)
 (define-key km "!"  'bbdb-search-invert)
+(define-key km ";"  'bbdb-record-edit-notes)
 (define-key km "a"  'bbdb-add-mail-alias)
 (define-key km "A"  'bbdb-mail-aliases)
 (define-key km "c"  'bbdb-create)


--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: [O] [PATCH] integration with bbdb 3.0

2011-12-31 Thread Ivan Kanis
Carsten Dominik  wrote:

> On 28.12.2011, at 20:06, Ivan Kanis wrote:
>
>> Hi Bastien,
>> 
>> The following patch fixes linking bbdb 3.0 records. Let me know if the
>> patch needs improvement.
>
> Have you signed FSF papers?
>

Hi Carsten,

Yes I have.
-- 
Ivan Kanis
http://kanis.fr

I shall never make a new friend in my life, though perhaps a few
after I die.
-- Oscar Wilde

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/