all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ediff naming buffers (newbie alert)
@ 2006-03-07 14:45 bhenz
  0 siblings, 0 replies; 4+ messages in thread
From: bhenz @ 2006-03-07 14:45 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 992 bytes --]

Hi,

(I running emacs 21.4.1)

I am trying to hook into the "ediff-startup-hooks" but ediff completely 
ignores my attemps. I have the following code in my .emacs file... 

(require 'ediff) 

;; Get rid of the annoying little (separate) ediff window and 
;; turn it into a 3rd pane in the main emacs window. 
(setq ediff-window-setup-function 'ediff-setup-windows-plain) 

;; Put files side-by-side 
;(setq ediff-split-window-function 'split-window-horizontally) 

(defun my-ediff-startup-hooks () 
    (this-is-destined-to-fail) 
)

(add-hook 'ediff-startup-hooks 'my-ediff-startup-hooks) 

OK, so the "this-is-destined-to-fail" is a desperate attempt to get ediff 
to do SOMETHING, but even this doesn't generate any warnings or errors! 
which pretty much tells me ediff is NOT using my startup-hook.

Any ideas? Does anyone have example code of doing this similar sort of 
thing. (Preferrably something simple like just a "print" statement in the 
new startup hook?

Thanks in advance,
Bob

[-- Attachment #1.2: Type: text/html, Size: 2222 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ediff naming buffers (newbie alert)
       [not found] <mailman.39.1141744558.2319.help-gnu-emacs@gnu.org>
@ 2006-03-07 16:08 ` Alan Mackenzie
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2006-03-07 16:08 UTC (permalink / raw)


bhenz@lexmark.com wrote on Tue, 7 Mar 2006 09:45:32 -0500:
> This is a multipart message in MIME format.
> --=_alternative 005162028525712A_=
> Content-Type: text/plain; charset="us-ascii"

> Hi,

> (I running emacs 21.4.1)

> I am trying to hook into the "ediff-startup-hooks" but ediff completely 
> ignores my attemps. I have the following code in my .emacs file... 

[ .... ]

> (add-hook 'ediff-startup-hooks 'my-ediff-startup-hooks) 
                               ^
                               |
                               |
                      Please remove this "s"   :-)

> Any ideas? Does anyone have example code of doing this similar sort of
> thing.  (Preferrably something simple like just a "print" statement in
> the new startup hook?

Oh yes!  I've had code doing this sort of thing (i.e. nothing) for years!

> Thanks in advance,
> Bob

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ediff naming buffers (newbie alert)
@ 2006-03-08 14:36 bhenz
  2006-03-08 19:04 ` Kevin Rodgers
  0 siblings, 1 reply; 4+ messages in thread
From: bhenz @ 2006-03-08 14:36 UTC (permalink / raw)
  Cc: help-gnu-emacs-bounces+bhenz=lexmark.com, help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 1789 bytes --]

Thank you!

It appears that the documentation for ediff is incorrect? or else there 
are just a lot of people that have bad documentation on the web... (e.g. 
google search for ediff-startup-hooks, or go directly to 
"http://wwwwbs.cs.tu-berlin.de/user-taipan/kraxel/gnuinfo/ediff/Hooks.html")

I've been pulling my hair out over this "typo" for a while now!
Thanks again,
Bob





Alan Mackenzie <acm@muc.de>
Sent by: help-gnu-emacs-bounces+bhenz=lexmark.com@gnu.org
03/07/2006 11:08 AM

 
        To:     help-gnu-emacs@gnu.org
        cc: 
        Subject:        Re: ediff naming buffers (newbie alert)


bhenz@lexmark.com wrote on Tue, 7 Mar 2006 09:45:32 -0500:
> This is a multipart message in MIME format.
> --=_alternative 005162028525712A_=
> Content-Type: text/plain; charset="us-ascii"

> Hi,

> (I running emacs 21.4.1)

> I am trying to hook into the "ediff-startup-hooks" but ediff completely 
> ignores my attemps. I have the following code in my .emacs file... 

[ .... ]

> (add-hook 'ediff-startup-hooks 'my-ediff-startup-hooks) 
                               ^
                               |
                               |
                      Please remove this "s"   :-)

> Any ideas? Does anyone have example code of doing this similar sort of
> thing.  (Preferrably something simple like just a "print" statement in
> the new startup hook?

Oh yes!  I've had code doing this sort of thing (i.e. nothing) for years!

> Thanks in advance,
> Bob

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs



[-- Attachment #1.2: Type: text/html, Size: 3155 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ediff naming buffers (newbie alert)
  2006-03-08 14:36 bhenz
@ 2006-03-08 19:04 ` Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2006-03-08 19:04 UTC (permalink / raw)


bhenz@Lexmark.com wrote:
 > It appears that the documentation for ediff is incorrect? or else there
 > are just a lot of people that have bad documentation on the web... (e.g.
 > google search for ediff-startup-hooks, or go directly to
 > 
"http://wwwwbs.cs.tu-berlin.de/user-taipan/kraxel/gnuinfo/ediff/Hooks.html") 


Why resort to the web before checking Emacs' own documentation?  It
comes with an Ediff manual (in Info format) that is correct.

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-08 19:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.39.1141744558.2319.help-gnu-emacs@gnu.org>
2006-03-07 16:08 ` ediff naming buffers (newbie alert) Alan Mackenzie
2006-03-08 14:36 bhenz
2006-03-08 19:04 ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2006-03-07 14:45 bhenz

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.