emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs
@ 2012-08-30  7:54 Michael Sperber
  2012-08-30  8:14 ` Bastien
  2012-08-30 17:00 ` XEmacs and ert (was: Re: PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs) Achim Gratz
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Sperber @ 2012-08-30  7:54 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]


I've attached a patch (1 out of 3) that's minimally needed to make
the current org-mode work on XEmacs.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-XEmacs-Default-org-self-insert-cluster-for-undo-also.patch --]
[-- Type: text/x-patch, Size: 1105 bytes --]

From c3496d038b46d0fb633753fa67b8f2f7e326999e Mon Sep 17 00:00:00 2001
From: Mike Sperber <sperber@deinprogramm.de>
Date: Sat, 25 Aug 2012 17:35:35 +0200
Subject: [PATCH 1/3] XEmacs: Default `org-self-insert-cluster-for-undo' also on XEmacs.

2012-08-25  Michael Sperber  <mike@xemacs.org>

	* org.el (org-self-insert-cluster-for-undo): Default
	`org-self-insert-cluster-for-undo' also on XEmacs.
---
 lisp/org.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 96b5584..98bebba 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -1281,7 +1281,8 @@ See also the variable `org-table-auto-blank-field'."
 	  (const :tag "on" t)
 	  (const :tag "on, optimized" optimized)))
 
-(defcustom org-self-insert-cluster-for-undo (version<= emacs-version "24.1")
+(defcustom org-self-insert-cluster-for-undo (or (featurep 'xemacs)
+						(version<= emacs-version "24.1"))
   "Non-nil means cluster self-insert commands for undo when possible.
 If this is set, then, like in the Emacs command loop, 20 consecutive
 characters will be undone together.
-- 
1.7.0.5


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

* Re: PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs
  2012-08-30  7:54 PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs Michael Sperber
@ 2012-08-30  8:14 ` Bastien
  2012-08-30 17:00 ` XEmacs and ert (was: Re: PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs) Achim Gratz
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2012-08-30  8:14 UTC (permalink / raw)
  To: Michael Sperber; +Cc: emacs-orgmode

Hi Michael,

Michael Sperber <sperber@deinprogramm.de> writes:

> I've attached a patch (1 out of 3) that's minimally needed to make
> the current org-mode work on XEmacs.

Argh.  Sorry I didn't consider XEmacs when I changed this default.

I applied the patch, thanks a lot!

-- 
 Bastien

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

* XEmacs and ert (was: Re: PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs)
  2012-08-30  7:54 PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs Michael Sperber
  2012-08-30  8:14 ` Bastien
@ 2012-08-30 17:00 ` Achim Gratz
  2012-09-01  9:08   ` XEmacs and ert Michael Sperber
  1 sibling, 1 reply; 4+ messages in thread
From: Achim Gratz @ 2012-08-30 17:00 UTC (permalink / raw)
  To: emacs-orgmode

Michael Sperber writes:
> I've attached a patch (1 out of 3) that's minimally needed to make
> the current org-mode work on XEmacs.

While we have you here… Do you know of a version of ert that is
compatible with XEmacs?  The roadblock I've run into is that ert uses
"button" and XEmacs doesn't seem to have it.  It wouldn't really be
needed for batch mode testing I think, but I haven't found out how to
work around it.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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

* Re: XEmacs and ert
  2012-08-30 17:00 ` XEmacs and ert (was: Re: PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs) Achim Gratz
@ 2012-09-01  9:08   ` Michael Sperber
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Sperber @ 2012-09-01  9:08 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode


Achim Gratz <Stromeko@nexgo.de> writes:

> Michael Sperber writes:
>> I've attached a patch (1 out of 3) that's minimally needed to make
>> the current org-mode work on XEmacs.
>
> While we have you here… Do you know of a version of ert that is
> compatible with XEmacs?  The roadblock I've run into is that ert uses
> "button" and XEmacs doesn't seem to have it.  It wouldn't really be
> needed for batch mode testing I think, but I haven't found out how to
> work around it.

I don't.  But that question is better asked on xemacs-beta.  If there's
interest, maybe someone will pick it up.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

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

end of thread, other threads:[~2012-09-01  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-30  7:54 PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs Michael Sperber
2012-08-30  8:14 ` Bastien
2012-08-30 17:00 ` XEmacs and ert (was: Re: PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs) Achim Gratz
2012-09-01  9:08   ` XEmacs and ert Michael Sperber

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).