From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Sperber Subject: PATCH[1/3]: Activate `org-self-insert-cluster-for-undo' in XEmacs Date: Thu, 30 Aug 2012 09:54:00 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6za4-0001dI-WB for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 03:54:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6za0-0002g3-Tz for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 03:54:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:59694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6za0-0002fv-MT for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 03:54:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T6zZv-00051o-PR for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 09:54:15 +0200 Received: from 37.247.80.143 ([37.247.80.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Aug 2012 09:54:15 +0200 Received: from sperber by 37.247.80.143 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Aug 2012 09:54:15 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-XEmacs-Default-org-self-insert-cluster-for-undo-also.patch >From c3496d038b46d0fb633753fa67b8f2f7e326999e Mon Sep 17 00:00:00 2001 From: Mike Sperber 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 * 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 --=-=-=--