all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ediff-diff-options have no effect
@ 2006-09-20 12:37 Florian Kaufmann
  2006-09-20 12:53 ` Florian Kaufmann
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Kaufmann @ 2006-09-20 12:37 UTC (permalink / raw)


Hello

No matter what garbage I assign to ediff-diff-options, ediff (i.e.
diff, the content of ediff-diff-program) behaves in its standard
configuration. Setting ediff-diff-program however has an effect. I'm
sure that I wrote ediff-diff-options correctly, because if I invoke the
help on this variable (describe-variable C-h v), I get the correct new
content I assigned to this variable and the correct description. Any
Ideas?

Thank you

Flo

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

* Re: ediff-diff-options have no effect
  2006-09-20 12:37 ediff-diff-options have no effect Florian Kaufmann
@ 2006-09-20 12:53 ` Florian Kaufmann
  2006-09-20 15:50 ` Kevin Rodgers
       [not found] ` <mailman.7200.1158767591.9609.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Kaufmann @ 2006-09-20 12:53 UTC (permalink / raw)


If I invoke diff from the shell with the options that interest me, -wB
in this case, everything works as intended.

Flo

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

* Re: ediff-diff-options have no effect
  2006-09-20 12:37 ediff-diff-options have no effect Florian Kaufmann
  2006-09-20 12:53 ` Florian Kaufmann
@ 2006-09-20 15:50 ` Kevin Rodgers
       [not found] ` <mailman.7200.1158767591.9609.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2006-09-20 15:50 UTC (permalink / raw)


Florian Kaufmann wrote:
> No matter what garbage I assign to ediff-diff-options, ediff (i.e.
> diff, the content of ediff-diff-program) behaves in its standard
> configuration. Setting ediff-diff-program however has an effect. I'm
> sure that I wrote ediff-diff-options correctly, because if I invoke the
> help on this variable (describe-variable C-h v), I get the correct new
> content I assigned to this variable and the correct description. Any
> Ideas?

There is some strange stuff in ediff-diff.el regarding
ediff-diff-options that indicates it needs to be set via customize
(vs. setq).  I don't know how to invoke the customize machinery directly
from .emacs, but it appears that the end effect is supposed to be:

(ediff-reset-diff-options 'ediff-diff-options "--your-options-here")

Does that work?

-- 
Kevin

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

* Re: ediff-diff-options have no effect
       [not found] ` <mailman.7200.1158767591.9609.help-gnu-emacs@gnu.org>
@ 2006-09-21 12:59   ` Florian Kaufmann
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Kaufmann @ 2006-09-21 12:59 UTC (permalink / raw)


> (ediff-reset-diff-options 'ediff-diff-options "--your-options-here")
>
> Does that work?

Unfortunately it doesn't. I also tried to use customize variable
mechanism. Still nothing happens. However, if -c is within my options,
indeed an error message is shown, which is the correct behaviour. Maybe
I have to write a small bash script, which calls diff with the correct
argument, and whitch's name I put into ediff-diff-program. 

Flo

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

end of thread, other threads:[~2006-09-21 12:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 12:37 ediff-diff-options have no effect Florian Kaufmann
2006-09-20 12:53 ` Florian Kaufmann
2006-09-20 15:50 ` Kevin Rodgers
     [not found] ` <mailman.7200.1158767591.9609.help-gnu-emacs@gnu.org>
2006-09-21 12:59   ` Florian Kaufmann

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.