Hello community, here is the log from the commit of package emacs.930 for openSUSE:12.2:Update checked in at 2012-10-15 16:30:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2:Update/emacs.930 (Old) and /work/SRC/openSUSE:12.2:Update/.emacs.930.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "emacs.930", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2012-08-23 02:41:28.555381587 +0200 +++ /work/SRC/openSUSE:12.2:Update/.emacs.930.new/emacs.changes 2012-10-15 16:30:40.000000000 +0200 @@ -0,0 +1,1661 @@ +------------------------------------------------------------------- +Fri Oct 5 12:03:38 UTC 2012 - wer...@suse.de + +- Add workaround into emacs starter script for gtk/gstreamer bug + which overrides the locale + +------------------------------------------------------------------- +Tue Sep 18 12:07:26 UTC 2012 - wer...@suse.de + +- Update to to emacs version 24.2 + * This is mainly a bug-fix release +- Last patch already included + +------------------------------------------------------------------- +Mon Sep 17 13:37:44 UTC 2012 - wer...@suse.de + +- Add fix for bnc#775993 which disable arbitrary lisp code execution + when 'enable-local-variables' is set to ':safe' (CVE-2012-3479) +- Add fix for bnc#780653 to allow emacs to parse tar archives with + PAX extended headers + +------------------------------------------------------------------- +Mon Sep 10 09:25:05 UTC 2012 - a...@suse.de + +- Add emacs-24.1-gets.patch to check whether gets is declared + before warning about it (needed by glibc 2.16). + +------------------------------------------------------------------- +Thu Jul 26 07:39:27 UTC 2012 - wer...@suse.de + +- Avoid missing fonts due minimal installation + +------------------------------------------------------------------- +Fri Jul 20 10:54:15 UTC 2012 - wer...@suse.de + +- xorg-x11-libs is not in default installation anymore, use libX11-6 + to be enhanced by emacs-x11 + +------------------------------------------------------------------- +Tue Jul 3 12:25:05 UTC 2012 - wer...@suse.de + +- Don't be fooled by not initialized time stamps of unused XEvent + structures which happens with old GTK-2.0 + +------------------------------------------------------------------- +Fri Jun 29 15:22:42 UTC 2012 - wer...@suse.de + +- make it build even for older distries + +------------------------------------------------------------------- +Thu Jun 28 09:42:17 UTC 2012 - wer...@suse.de + +- Avoid conflict with gnuctags + +------------------------------------------------------------------- +Thu Jun 28 09:07:51 UTC 2012 - wer...@suse.de + +- Update to to emacs version 24.1 + * Support for Gtk+3.0, GnuTLS, ImageMagick, libxml2, and SELinux + * Support for wide integer (62 bits) in lisp even on 32-bit machines. + * The --unibyte, --multibyte, --no-multibyte, and --no-unibyte command + line arguments, and the EMACS_UNIBYTE environment variable, no longer + have any effect. + * And many more changes see /usr/share/emacs/24.1/etc/NEWS +- Remove obsolete patches +- Refresh some others patches + +------------------------------------------------------------------- +Thu May 24 11:39:36 UTC 2012 - wer...@suse.de + +- Avoid endless loop due multiplying zero with two as this results + also in zero (bnc#763851) ... found in xgselect.c for increasing + the allocated memory used for g_main_context_query(). + +------------------------------------------------------------------- +Fri Apr 27 14:27:20 UTC 2012 - k...@suse.de + +- Add version number to provide/obsolete. + +------------------------------------------------------------------- +Fri Apr 27 07:02:04 UTC 2012 - k...@suse.de + +- provide/obsolete nxml-mode; now part of emacs. + +------------------------------------------------------------------- +Wed Apr 4 13:00:31 UTC 2012 - wer...@suse.de + +- Remove obsolete Obsoletes and Provides tags + +------------------------------------------------------------------- +Wed Apr 4 07:03:43 UTC 2012 - wer...@suse.de + +- Correct License tag that is that emacs is now GPLv3 or later (bnc#755524) + +------------------------------------------------------------------- +Wed Mar 14 10:31:33 CET 2012 - meiss...@suse.de + +- add %dir /usr/share/X11/app-defaults to fix factory build. + +------------------------------------------------------------------- +Tue Jan 10 14:53:41 UTC 2012 - wer...@suse.de + +- Port fix for CVE-2012-0035 to CEDET used for emacs 23.3 (bnc#740447) +- Yet an other change of the tar ball to avoid intrinsic emacs GPL + violoation + +------------------------------------------------------------------- +Tue Jan 3 18:01:19 CET 2012 - dmuel...@suse.de + +- rebuild for ppc64 and ia64 (bnc#726769) + +------------------------------------------------------------------- +Tue Dec 20 20:30:48 UTC 2011 - co...@suse.com + +- add autoconf as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Tue Dec 20 20:23:40 UTC 2011 - co...@suse.com + +- remove call to suse_update_config (very old work around) + +------------------------------------------------------------------- +Mon Nov 28 08:36:10 UTC 2011 - wer...@suse.de + +- Resolve build conflicts + +------------------------------------------------------------------- +Thu Nov 24 14:01:22 UTC 2011 - wer...@suse.de + +- Avoid SLES10 systems using kernel 2.6.16 + +------------------------------------------------------------------- +Tue Nov 22 14:40:45 UTC 2011 - wer...@suse.de + +- Add patch to use libtinfo if available + +------------------------------------------------------------------- +Sun Oct 2 14:36:52 CEST 2011 - dmuel...@suse.de + +- switch back to standard gcc, as bootstrapping gcc 4.3 on + arm is essentially impossible, and 4.3 is not needed anymore + (bnc#587307#c9) + +------------------------------------------------------------------- +Sun Sep 18 17:17:12 UTC 2011 - jeng...@medozas.de + +- Remove redundant/obsolete tags/sections from specfile + (cf. packaging guidelines) + +------------------------------------------------------------------- +Thu Aug 11 09:37:07 UTC 2011 - wer...@suse.de + +- Change tar ball to avoid intrinsic emacs GPL violoation (bnc#710247) + +------------------------------------------------------------------- +Mon Jul 11 15:25:27 UTC 2011 - wer...@suse.de + +- Update to to emacs version 23.3 + * The last-resort backup file `%backup%~' is now written to + `user-emacs-directory', instead of the user's home directory. + * If Emacs creates `user-emacs-directory', that directory's + permissions are now set to rwx------, ignoring the umask. + * The appt-add command takes an optional argument, the warning time. + This can be used in place of the default appt-message-warning-time. + * You can allow inferior Python processes to load modules from the + current directory by setting `python-remove-cwd-from-path' to nil. + * The default value of `rmail-enable-mime' is now t. Rmail decodes + MIME contents automatically. You can customize the variable + `rmail-enable-mime' back to `nil' to disable this automatic MIME + decoding. + * The command `rmail-mime' change the displaying of a MIME message + between decoded presentation form and raw data if `rmail-enable-mime' + is non-nil. And, with prefix argument, it change only the displaying + of the MIME entity at point. + * The new command `rmail-mime-next-item' (bound to TAB) moves point + to the next item of MIME message. + * The new command `rmail-mime-previous-item' (bound to backtab) moves + point to the previous item of MIME message. + * The new command `rmail-mime-toggle-hidden' (RET) hide or show the + body of the MIME entity at point. + * New VC command `vc-log-incoming', bound to `C-x v I'. + This shows a log of changes to be received with a pull operation. + For Git, this runs "git fetch" to make the necessary data available + locally; this requires version 1.7 or newer. + * New VC command `vc-log-outgoing', bound to `C-x v O'. + This shows a log of changes to be sent in the next commit. + * New VC command vc-find-conflicted-file. + * The 'g' key in VC diff, log, log-incoming and log-outgoing buffers + reruns the corresponding VC command to compute an up to date version + of the buffer. + * vc-dir for Bzr supports viewing shelve contents and shelving snapshots. + * Special markup can be added to log-edit buffers. + You can add headers specifying additional information to be supplied + to the version control system. + Bazaar recognizes the headers "Author", "Date" and "Fixes". + Git, Mercurial, and Monotone recognize "Author" and "Date". + Any unknown header is left as is in the message, so it is not lost. ++++ 1464 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.2:Update/.emacs.930.new/emacs.changes New: ---- app-defaults.Emacs check-build.sh dot.gnu-emacs emacs-22.0.99-x11r7.patch emacs-22.0.99-xim.patch emacs-22.2-iconic.patch emacs-23.1-asian-print.patch emacs-23.1-flyspell.patch emacs-24.1-bnc628268.patch emacs-24.1-configure.patch emacs-24.1-decl.dif emacs-24.1-gets.patch emacs-24.1-glibc.patch emacs-24.1-nonvoid.patch emacs-24.1-ppc64.patch emacs-24.1-ps-bdf.patch emacs-24.1-ps-mule.patch emacs-24.1-s390x.dif emacs-24.1-sendmail-path.patch emacs-24.1-tinfo.dif emacs-24.1-xevent.patch emacs-24.1-xgselect.patch emacs-24.1.dif emacs-24.2-configure.patch emacs-24.2.tar.xz emacs-rpmlintrc emacs.changes emacs.desktop emacs.spec emacs.test site-lisp.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ emacs.spec ++++++ ++++ 4414 lines (skipped) ++++++ app-defaults.Emacs ++++++ ! ========================================================================== ! Emacs ! ========================================================================== Emacs.Font: fontset-16 Emacs.pane.menubar.font: -*-helvetica-bold-r-normal--12-*-*-*-p-*-iso8859-* Emacs.menu*.font: -*-helvetica-bold-r-normal--12-*-*-*-p-*-iso8859-* Emacs*Fontset-0:\ -*-fixed-medium-r-*--16-*-*-*-*-*-fontset-16,\ latin-iso8859-1:-*-fixed-medium-r-*--16-*-iso8859-1,\ latin-iso8859-2:-*-fixed-medium-r-*--16-*-iso8859-2,\ latin-iso8859-3:-*-fixed-medium-r-*--16-*-iso8859-3,\ latin-iso8859-4:-*-fixed-medium-r-*--16-*-iso8859-4,\ cyrillic-iso8859-5:-*-fixed-medium-r-*--16-*-iso8859-5,\ greek-iso8859-7:-*-fixed-medium-r-*--16-*-iso8859-7,\ hebrew-iso8859-8:-*-fixed-medium-r-*--16-*-iso8859-8,\ latin-iso8859-9:-*-fixed-medium-r-*--16-*-iso8859-9,\ latin-iso8859-15:-*-fixed-medium-r-*--16-*-iso8859-15,\ arabic-digit:-*-fixed-medium-r-*--16-*-mulearabic-0,\ arabic-1-column:-*-fixed-medium-r-*--16-*-mulearabic-1,\ arabic-2-column:-*-fixed-medium-r-*--16-*-mulearabic-2,\ katakana-jisx0201:-*-fixed-medium-r-*--16-*-jisx0201.1976-0,\ japanese-jisx0208:-*-fixed-medium-r-*--16-*-jisx0208*-0,\ korean-ksc5601:-*-fixed-medium-r-*--16-*-ksc5601*-*,\ chinese-big5-1:-*-fixed-medium-r-*--16-*-big5*-0,\ chinese-gb2312:-*-medium-r-normal-*-16-*-gb2312*-*,\ chinese-cns11643-1:-*-medium-r-normal-*-16-*-cns11643*-1,\ chinese-cns11643-2:-*-medium-r-normal-*-16-*-cns11643*-2,\ chinese-cns11643-3:-*-medium-r-normal-*-16-*-cns11643*-3,\ chinese-cns11643-4:-*-medium-r-normal-*-16-*-cns11643*-4,\ chinese-cns11643-5:-*-medium-r-normal-*-16-*-cns11643*-5,\ chinese-cns11643-6:-*-medium-r-normal-*-16-*-cns11643*-6,\ chinese-cns11643-7:-*-medium-r-normal-*-16-*-cns11643*-7,\ thai-tis620:-*-fixed-medium-r-*--16-*-tis620.2529-1,\ vietnamese-viscii-lower:-*-fixed-medium-r-*--16-*-viscii1.1-1,\ lao:-*-fixed-medium-r-*--16-*-mulelao-1,\ tibetan:-*-fixed-medium-r-*--16-*-muletibetan-0,\ tibetan-1-column:-*-fixed-medium-r-*--16-*-muletibetan-1 Emacs*Fontset-1:\ -*-fixed-medium-r-*--24-*-*-*-*-*-fontset-24,\ latin-iso8859-1:-*-fixed-medium-r-*--24-*-iso8859-1,\ latin-iso8859-2:-*-fixed-medium-r-*--24-*-iso8859-2,\ latin-iso8859-3:-*-fixed-medium-r-*--24-*-iso8859-3,\ latin-iso8859-4:-*-fixed-medium-r-*--24-*-iso8859-4,\ cyrillic-iso8859-5:-*-fixed-medium-r-*--24-*-iso8859-5,\ greek-iso8859-7:-*-fixed-medium-r-*--24-*-iso8859-7,\ hebrew-iso8859-8:-*-fixed-medium-r-*--24-*-iso8859-8,\ latin-iso8859-9:-*-fixed-medium-r-*--24-*-iso8859-9,\ latin-iso8859-15:-*-fixed-medium-r-*--24-*-iso8859-15,\ arabic-digit:-*-fixed-medium-r-*--24-*-mulearabic-0,\ arabic-1-column:-*-fixed-medium-r-*--24-*-mulearabic-1,\ arabic-2-column:-*-fixed-medium-r-*--24-*-mulearabic-2,\ katakana-jisx0201:-*-fixed-medium-r-*--24-*-jisx0201.1976-0,\ japanese-jisx0208:-*-fixed-medium-r-*--24-*-jisx0208*-0,\ korean-ksc5601:-*-fixed-medium-r-*--24-*-ksc5601*-*,\ chinese-big5-1:-*-fixed-medium-r-*--24-*-big5*-0,\ chinese-gb2312:-*-medium-r-normal-*-24-*-gb2312*-*,\ chinese-cns11643-1:-*-medium-r-normal-*-24-*-cns11643*-1,\ chinese-cns11643-2:-*-medium-r-normal-*-24-*-cns11643*-2,\ chinese-cns11643-3:-*-medium-r-normal-*-24-*-cns11643*-3,\ chinese-cns11643-4:-*-medium-r-normal-*-24-*-cns11643*-4,\ chinese-cns11643-5:-*-medium-r-normal-*-24-*-cns11643*-5,\ chinese-cns11643-6:-*-medium-r-normal-*-24-*-cns11643*-6,\ chinese-cns11643-7:-*-medium-r-normal-*-24-*-cns11643*-7,\ thai-tis620:-*-fixed-medium-r-*--24-*-tis620.2529-1,\ vietnamese-viscii-lower:-*-fixed-medium-r-*--24-*-viscii1.1-1,\ lao:-*-fixed-medium-r-*--24-*-mulelao-1,\ indian-is13194:-*-fixed-medium-r-*--24-*-is13194-devanagari,\ indian-1-column:-*-fixed-medium-r-*--24-*-muleindian-1,\ indian-2-column:-*-fixed-medium-r-*--24-*-muleindian-2,\ tibetan:-*-fixed-medium-r-*--24-*-muletibetan-0,\ tibetan-1-column:-*-fixed-medium-r-*--24-*-muletibetan-1 Emacs*Fontset-2:\ -*-fixed-medium-r-*--20-*-*-*-*-*-fontset-20,\ latin-iso8859-1:-*-fixed-medium-r-*--20-*-iso8859-1,\ latin-iso8859-2:-*-fixed-medium-r-*--20-*-iso8859-2,\ latin-iso8859-3:-*-fixed-medium-r-*--20-*-iso8859-3,\ latin-iso8859-4:-*-fixed-medium-r-*--20-*-iso8859-4,\ cyrillic-iso8859-5:-*-fixed-medium-r-*--20-*-iso8859-5,\ greek-iso8859-7:-*-fixed-medium-r-*--20-*-iso8859-7,\ hebrew-iso8859-8:-*-fixed-medium-r-*--20-*-iso8859-8,\ latin-iso8859-9:-*-fixed-medium-r-*--20-*-iso8859-9,\ latin-iso8859-15:-*-fixed-medium-r-*--20-*-iso8859-15,\ katakana-jisx0201:-*-fixed-medium-r-*--20-*-jisx0201.1976-0,\ japanese-jisx0208:-*-fixed-medium-r-*--20-*-jisx0208*-0,\ korean-ksc5601:-*-fixed-medium-r-*--20-*-ksc5601*-* Emacs*Fontset-3:\ -*-fixed-medium-r-*--18-*-*-*-*-*-fontset-18,\ latin-iso8859-1:-*-fixed-medium-r-*--18-*-iso8859-1,\ latin-iso8859-2:-*-fixed-medium-r-*--18-*-iso8859-2,\ latin-iso8859-3:-*-fixed-medium-r-*--18-*-iso8859-3,\ latin-iso8859-4:-*-fixed-medium-r-*--18-*-iso8859-4,\ cyrillic-iso8859-5:-*-fixed-medium-r-*--18-*-iso8859-5,\ greek-iso8859-7:-*-fixed-medium-r-*--18-*-iso8859-7,\ hebrew-iso8859-8:-*-fixed-medium-r-*--18-*-iso8859-8,\ latin-iso8859-9:-*-fixed-medium-r-*--18-*-iso8859-9,\ latin-iso8859-15:-*-fixed-medium-r-*--18-*-iso8859-15,\ katakana-jisx0201:-*-*-medium-r-*--18-*-jisx0201.1976-0,\ japanese-jisx0208:-*-*-medium-r-*--18-*-jisx0208*-0,\ korean-ksc5601:-*-fixed-medium-r-*--18-*-ksc5601*-* Emacs*Fontset-4:\ -*-fixed-medium-r-*--14-*-*-*-*-*-fontset-14,\ latin-iso8859-1:-*-fixed-medium-r-*--14-*-iso8859-1,\ latin-iso8859-2:-*-fixed-medium-r-*--14-*-iso8859-2,\ latin-iso8859-3:-*-fixed-medium-r-*--14-*-iso8859-3,\ latin-iso8859-4:-*-fixed-medium-r-*--14-*-iso8859-4,\ cyrillic-iso8859-5:-*-fixed-medium-r-*--14-*-iso8859-5,\ greek-iso8859-7:-*-fixed-medium-r-*--14-*-iso8859-7,\ hebrew-iso8859-8:-*-fixed-medium-r-*--14-*-iso8859-8,\ latin-iso8859-9:-*-fixed-medium-r-*--14-*-iso8859-9,\ latin-iso8859-15:-*-fixed-medium-r-*--14-*-iso8859-15,\ katakana-jisx0201:-*-fixed-medium-r-*--14-*-jisx0201.1976-0,\ japanese-jisx0208:-*-fixed-medium-r-*--14-*-jisx0208*-0,\ korean-ksc5601:-*-fixed-medium-r-*--14-*-ksc5601*-*,\ thai-tis620:-*-fixed-medium-r-*--14-*-tis620.2529-1,\ lao:-*-fixed-medium-r-*--14-*-mulelao-1 Emacs*Fontset-5:\ -*-fixed-medium-r-*--12-*-*-*-*-*-fontset-12,\ latin-iso8859-1:-*-fixed-medium-r-*--12-*-iso8859-1,\ latin-iso8859-2:-*-fixed-medium-r-*--12-*-iso8859-2,\ latin-iso8859-3:-*-fixed-medium-r-*--12-*-iso8859-3,\ latin-iso8859-4:-*-fixed-medium-r-*--12-*-iso8859-4,\ cyrillic-iso8859-5:-*-fixed-medium-r-*--12-*-iso8859-5,\ greek-iso8859-7:-*-fixed-medium-r-*--12-*-iso8859-7,\ latin-iso8859-15:-*-fixed-medium-r-*--12-*-iso8859-15,\ hebrew-iso8859-8:-*-fixed-medium-r-*--12-*-iso8859-8,\ latin-iso8859-9:-*-fixed-medium-r-*--12-*-iso8859-9,\ katakana-jisx0201:-*-fixed-medium-r-*--12-*-jisx0201.1976-0,\ japanese-jisx0208:-*-fixed-medium-r-*--12-*-jisx0208*-0,\ korean-ksc5601:-*-fixed-medium-r-*--12-*-ksc5601.1987-0 Emacs*Fontset-6:\ -*-fixed-medium-r-*--10-*-*-*-*-*-fontset-10,\ latin-iso8859-1:-*-fixed-medium-r-*--10-*-iso8859-1,\ latin-iso8859-2:-*-fixed-medium-r-*--10-*-iso8859-2,\ latin-iso8859-3:-*-fixed-medium-r-*--10-*-iso8859-3,\ latin-iso8859-4:-*-fixed-medium-r-*--10-*-iso8859-4,\ cyrillic-iso8859-5:-*-fixed-medium-r-*--10-*-iso8859-5,\ greek-iso8859-7:-*-fixed-medium-r-*--10-*-iso8859-7,\ hebrew-iso8859-8:-*-fixed-medium-r-*--10-*-iso8859-8,\ latin-iso8859-9:-*-fixed-medium-r-*--10-*-iso8859-9,\ latin-iso8859-15:-*-fixed-medium-r-*--10-*-iso8859-15,\ katakana-jisx0201:-*-fixed-medium-r-*--10-*-jisx0201.1976-0,\ japanese-jisx0208:-*-fixed-medium-r-*--10-*-jisx0208*-0,\ korean-ksc5601:-*-fixed-medium-r-*--10-*-ksc5601*-* Emacs*Fontset-7:\ -*-fixed-medium-r-*--8-*-*-*-*-*-fontset-8,\ latin-iso8859-1:-*-fixed-medium-r-*--8-*-iso8859-1,\ greek-iso8859-7:-*-fixed-medium-r-*--8-*-iso8859-7,\ latin-iso8859-15:-*-fixed-medium-r-*--8-*-iso8859-15 Emacs*Fontset-8:\ -*-fixed-medium-r-*--7-*-*-*-*-*-fontset-7,\ latin-iso8859-1:-*-fixed-medium-r-*--7-*-iso8859-1,\ greek-iso8859-7:-*-fixed-medium-r-*--7-*-iso8859-7,\ latin-iso8859-15:-*-fixed-medium-r-*--7-*-iso8859-15 ++++++ check-build.sh ++++++ #!/bin/bash case $BUILD_BASENAME in *ppc*) if test $(getconf PAGESIZE) -ne 65536; then echo "Error: wrong build host, PAGESIZE must be 65536" exit 1 fi ;; *ia64*) if test $(getconf PAGESIZE) -ne 65536; then echo "Error: wrong build host, PAGESIZE must be 65536" exit 1 fi ;; *) ;; esac exit 0 ++++++ dot.gnu-emacs ++++++ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; File name: ` ~/.gnu-emacs ' ;;; --------------------- ;;; ;;; Note: This file is for GNU-Emacs only ... ;;; GNU-Emacs is incompatible to X-Emacs. Therefore your ;;; personal ~/.emacs should load this file if your runnning ;;; the good old GNU-emacs. ;;; ;;; If you need your own personal ~/.gnu-emacs ;;; please make a copy of this file ;;; an placein your changes and/or extension. ;;; ;;; For emacs commands have a look onto the ;;; `emacs-revcard' in the directory /usr/doc/packages/emacs/ ;;; ;;; Copyright 1993-2001 Werner Fink ;;; Copyright (c) 1996-2001 SuSE Gmbh Nuernberg, Germany. ;;; All rights reserved. ;;; ;;; Author: Werner Fink, <wer...@suse.de> 1993-2001 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; No splash screen at all ;; ----------------------- (if (and (file-exists-p "~/.inhibit-splash-screen") (boundp 'inhibit-splash-screen)) (setq-default inhibit-splash-screen t)) ;; ;; Debuging only ;; ------------- ; (open-dribble-file "~/.dribble") ; (open-termscript "~/.termscript") ;; ;; Emacs makes backup by moving original files, to ;; avoid trouble with hardlinked files we may use: ;; ----------------------------------------------- ; (defconst backup-by-copying-when-linked t) ;; ;; Rmail: We will place all Mail's an Mail-folders into ~/Mail ;; ----------------------------------------------------------- (if (file-accessible-directory-p "~/Mail/") (setq rmail-secondary-file-directory "~/Mail/")) ;; ;; Prefix for mail-mode ;; --------------------- (setq mail-yank-prefix "> ") ; (setq mail-archive-file-name "~/Mail/.CarbonCopy") (setq mail-self-blind nil) (setq mail-default-headers nil) (setq mail-signature nil) ;; ;; Settings for message-mode ;; ------------------------- (setq message-from-style "angles") (if (null mail-host-address) (let ((tmph (getenv "HOSTNAME")) (tmpf (getenv "FROM_HEADER"))) (if (or (null tmph) (not (string-match "\\." tmph))) (setq tmph (system-name))) (if (not (string-match "\\." tmph)) (setq mail-host-address "our.domain.is.not.set") (string-match "\\." tmph) (setq mail-host-address (substring tmph (match-end 0)))) (if (stringp tmpf) (setq mail-host-address tmpf))) (setq tmpf nil tmph nil)) ;; ;; RMAILGEN: Folder im Rmail-Mode :-) ;; ---------------------------------- ;; ;; 1. I want to define a mail directory that isn't `~/' (if (file-accessible-directory-p "~/Mail/") (setq rmailgen-default-directory "~/Mail/")) ; must end in slash ;;; ;; 2. I want 78 column (add-hook 'mail-mode-hook (function (lambda () (setq fill-column 78)))) (if (file-exists-p "~/.abbrev_defs") (progn (read-abbrev-file "~/.abbrev_defs") (add-hook 'mail-setup-hook 'mail-abbrevs-setup))) ;;; ;; 3. By default, if mail-archive-file-name is non-nil then ;; archive file names will be generated automatically based on ;; the message to which a reply is being constructed. If I ;; wanted to turn this off I would put in a statement like (setq rmailgen-archive-file-name nil) ;;; ;; 4. By default, rmailgen.el downcases generated filenames ;; If I wanted uppercase I would put in a statement like here. (setq rmailgen-downcase "dummy") ;;; ;; 5. By default, rmailgen.el does not append `.gz' to generated ;; filenames. If I wanted such an extension I would put in a statement ;; like ;;(setq rmailgen-gzip-file-name t) ;;; ;; 6. By default, rmailgen.el will use generated FCC filenames even ;; if the file does not exist. If I wanted to FCC only if the file ;; already exists I would put in a statement like ;; (setq rmailgen-archive-only-if-exists t) ;;; ;; 7. Add my own personal output list for specific friends ;; and special subjects. ;;; ;; First define rmail-output-file-alist, just in case this ;; is not already defined. That is, may be ;; ../lisp/rmailout.el has not been loaded yet. (if (not (boundp 'rmail-output-file-alist)) (defvar rmail-output-file-alist nil)) ;;; (setq rmail-output-file-alist (append (list ; ;; For my friends (some have strange account names). ; '("^From:[ \t]*.*jones.*" . "jmjones") ; '("^From:[ \t]*.*Joe[ \t]*Smith.*" . "joe") ; ; ;; Special subject lines. ; '("^Subject:[ \t]*.*crypt.*" . "crypt++") ; '("^Subject:[ \t]*.*rmailgen.*" . "genrmail") ; '("^Subject:[ \t]*.*dired-x.*" . "dired-x") ; '("^Subject:[ \t]*.*GNU Emacs 19 RMAIL Poll.*" . "rmail") ; ; ;; Add more entries here... ) ;;; ;; In case rmail-output-file-alist has been defined ;; already elsewhere. rmail-output-file-alist)) ;;; ;; 8. Load package [REQUIRED]. (if (file-exists-p "/usr/share/emacs/site-lisp/rmailgen.el") (require 'rmailgen)) ;; ;; Base text mode ;; ---------------------- (setq default-major-mode 'text-mode) (line-number-mode 1) (global-set-key "\e\?" 'goto-line) (column-number-mode 1) ;; ;; User can cutomize that: Just show e.g. DOS files with CR/NL ;; ---------------------- ; (setq-default inhibit-eol-conversion t) (setq-default require-final-newline "ask") ;; ;; Specials for X Window System ;; ------------------------- (if (not window-system) ;; ispell ;; ---------------------- ;; (A few changes on ispell) (setq ispell-highlight-face 'underline);) ;; ;; Some fonts ;; ----------------------- (if (> emacs-major-version 20) (require 'xfonts)) ;; ;; New in Emacs 21: tool bar menu, you may switch it of ;; ---------------------------------------------------- ; (if (fboundp 'tool-bar-mode) (tool-bar-mode 0)) ;; ;; mouse as arrow ;; -------------- (setq x-pointer-shape x-pointer-left-ptr) (if (x-display-color-p) (set-mouse-color "RoyalBlue") (set-mouse-color (cdr (assq 'mouse-color (frame-parameters))))) ;; ;; Automatically replacing of fore- and background. (if (not (x-display-color-p)) (progn (set-face-background 'region (cdr (assq 'foreground-color (frame-parameters )))) (set-face-foreground 'region (cdr (assq 'background-color (frame-parameters )))) ;; ispell ;; ---------------------- ;; (A few changes on ispell) (setq ispell-highlight-face 'underline))) ;; ;; Highlighting of special emacs modes ;; ----------------------------------- ;; We use font lock mode ;; Darken greyed strings in font lock mode (custom-declare-face 'font-lock-string-face '((((class grayscale) (background light)) (:foreground "gray37" :italic t)) (((class grayscale) (background dark)) (:foreground "LightGray" :italic t)) (((class color) (background light)) (:foreground "gray37")) (((class color) (background dark)) (:foreground "LightGray")) (t (:italic t))) "Font Lock mode face used to highlight strings." :group 'font-lock-highlighting-faces) ;; Enable font lock support (require 'font-lock) (cond ((and (boundp 'jit-lock-mode) (symbol-value 'jit-lock-mode)) (setq font-lock-support-mode '((latex-mode . fast-lock-mode) (t . jit-lock-mode)))) ((and (boundp 'lazy-lock-mode) (symbol-value 'lazy-lock-mode)) (setq font-lock-support-mode '((latex-mode . fast-lock-mode) (t . lazy-lock-mode))))) (add-hook 'after-init-hook '(lambda () (global-font-lock-mode 1))) ;; ;; Some dialog ;; ------------------ (setq use-dialog-box t) ;; ;; less dialog ;; ----------- ;(menu-prompting nil) ;; ;; Set X synchrone ;; --------------- ;; Speed up (setq mouse-scroll-delay 0) (setq x-selection-timeout 0) ;; ;; We use a wrapper script for netscape ;; (if (file-executable-p "/usr/X11R6/bin/Netscape") (setq browse-url-netscape-program "/usr/X11R6/bin/Netscape")) ) ;; ;; emacsclient: automatical popup under X11 ;; ------------------------------------------ ;(defun server-make-window-visible () ; "Try to make this window even more visible." ;(if window-system ; (progn ; (let ((foo (selected-frame))) ; (sit-for 0) ; (make-frame-visible foo)) ; (accept-process-output)))) ;(add-hook 'server-switch-hook '(lambda () (server-make-window-visible))) ;(add-hook 'server-visit-hook '(lambda () (server-make-window-visible))) ;; Start it for popup ;(server-start) ;; ;; Emacs experts like this ;; ----------------------- (put 'eval-expression 'disabled nil) ;; ;; Working on parts of text ;; ------------------------ ;; NB: `C-x n n' is narrow-to-region ;; `C-x n p' is narrow-to-page ;; `C-x n w' is widen ;(put 'narrow-to-region 'disabled nil) ;(put 'narrow-to-page 'disabled nil) ;; ;; GNUS ;; ---- ;; Sorting (if (or (and (= emacs-major-version 19) (> emacs-minor-version 29)) (> emacs-major-version 19)) (add-hook 'gnus-select-group-hook '(lambda () (setq-default gnus-auto-select-first nil) (setq-default gnus-auto-center-summary nil) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number gnus-thread-sort-by-subject gnus-thread-sort-by-date gnus-thread-sort-by-score)))) (add-hook 'gnus-select-group-hook '(lambda () (setq-default gnus-auto-select-first nil) (setq-default gnus-auto-center-summary nil) ;; First of all, sort by date. (gnus-keysort-headers (function string-lessp) (function (lambda (a) (gnus-sortable-date (gnus-header-date a))))) ;; Then sort by subject string ignoring `Re:'. ;; If case-fold-search is non-nil, case of letters is ignored. (gnus-keysort-headers (function string-lessp) (function (lambda (a) (if case-fold-search (downcase (gnus-simplify-subject (gnus-header-subject a) t)) (gnus-simplify-subject (gnus-header-subject a) t))))) )) ) ;; highlighting, menus, and subscribing in GNUS (add-hook 'gnus-startup-hook '(lambda () (setq gnus-subscribe-newsgroup-method '(lambda (newsgroup) (gnus-subscribe-newsgroup newsgroup) (gnus-kill-newsgroup newsgroup))) (setq gnus-use-generic-from t) ;; highlighting and menu in GNUS (if (or (and (= emacs-major-version 19) (> emacs-minor-version 29)) (> emacs-major-version 19)) (progn (setq gnus-visual '(highlight menu)) (setq gnus-group-highlight '(;; News. ((and (> unread 100) (not mailp)) . gnus-summary-high-ticked-face) ((and (> unread 0) (not mailp)) . gnus-summary-high-read-face) ((and (= unread 0) (not mailp)) . gnus-summary-high-ancient-face) ((not mailp) . gnus-summary-normal-ancient-face) ;; Mail. ((and (= unread 0) (eq level 1)) . gnus-group-mail-1-empty-face) ((eq level 1) . gnus-group-mail-1-face) ((and (= unread 0) (eq level 2)) . gnus-group-mail-2-empty-face) ((eq level 2) . gnus-group-mail-2-face) ((and (= unread 0) (eq level 3)) . gnus-group-mail-3-empty-face) ((eq level 3) . gnus-group-mail-3-face) ((= unread 0) . gnus-group-mail-low-empty-face) (t . gnus-group-mail-low-face))) ))) ) ;; ;; Common to all C modes ;; --------------------- ;(add-hook 'c-mode-common-hook ; '(lambda () (c-set-style "linux") ; (c-set-offset 'case-label 4) ; (setq c-basic-offset 4))) ;; ;; Auto fill mode ;; -------------- (add-hook 'text-mode-hook 'turn-on-auto-fill) ;; ;; Fill-column ;; ----------- ;; Fill-column ist hier auf 78 Charakter gesetzt, nach Wunsch "andern! (setq-default fill-column 78) (add-hook 'TeX-mode-hook '(lambda () (setq fill-column 78))) ;; ;; AUC-TeX ;; ---------------------------- (if (boundp 'AUCTeX-version) (progn (let* ((version (split-string AUCTeX-version "\\.")) (major (string-to-number (car version))) (minor (string-to-number (car (cdr version))))) (if (or (> major 11) (and (eq major 11) (>= minor 86))) (custom-set-default 'TeX-master nil) (setq-default TeX-master nil))) ; ; Users private libaries ; (if (boundp 'AUCTeX-version) ; (progn ; (setq TeX-macro-private '("~/lib/tex-lib/")) ; (setq TeX-style-private "~/lib/site-lisp/auctex/style/") ; AUC-TeX-Macros ; (setq TeX-auto-private "~/lib/site-lisp/auctex/auto/"))) ; Autom. Auc-TeX-Macros (if (and window-system (featurep 'font-lock)) (progn (add-hook 'latex-mode-hook 'turn-on-font-lock) (if (boundp 'AUCTeX-version) (progn (add-hook 'LaTeX-mode-hook 'turn-on-font-lock) (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode) (add-hook 'after-init-hook '(lambda () (load "auctex/font-latex" nil t))))))) )) ;; ;; Brace macros ;; ------------ (defun TeX-Inserting (sta stb stc) (if (= (preceding-char) sta ) (insert stb) (progn (insert stc) (backward-char 1)))) (defun TeX-schweif () (interactive "*") (TeX-Inserting ?\\ "{" "{}")) (defun TeX-rundekl () (interactive "*") (TeX-Inserting ?\\ "(" "()")) (defun TeX-eckigek () (interactive "*") (TeX-Inserting ?\\ "[" "[]")) (defun TeX-exponen () (interactive "*") (TeX-Inserting ?\\ "^" "^{}")) (defun TeX-subscri () (interactive "*") (TeX-Inserting ?\\ "_" "_{}")) (defun TeX-dollarm () (interactive "*") (TeX-Inserting ?\\ "$" "$$")) (defun TeX-REVbbox () (interactive "*") (TeX-Inserting ?\\ "bbox{" "\\bbox{}")) (add-hook 'LaTeX-mode-hook '(lambda () ;; Uncomment this for automatic bracket closing ;; Begin bracket closing ; (local-set-key "{" 'TeX-schweif) ; (local-set-key "(" 'TeX-rundekl) ; (local-set-key "[" 'TeX-eckigek) ; (local-set-key "^" 'TeX-exponen) ; (local-set-key "_" 'TeX-subscri) ; (local-set-key "$" 'TeX-dollarm) ; (local-set-key "\C-b" 'TeX-REVbbox) ;; ;; It's german: ;; Deutsche Tastatur im LaTeX-German-Style/Babel-Class ;; --------------------------------------------------- ;; Aktivierung mit `M-x german-mode' -> man dr"ucke ;; *nacheinander* <ComposeCharacter>, <">, <a> und staune! ;; ACHTUNG: Bei grossen Files sehr LANGSAM beim Abspeichern ;; das ist vom Prinzip her bedingt! Hier gibt's keinen Support! ; (require 'ger-keys) ;; End bracket closing ;; For ISO Latin standard: Macro out of `ger-keys' ;; ger-keys should be loaded ; (german-mode) ;; For german style usage: ; (modify-syntax-entry ?" "w") ; (local-set-key "\"" 'self-insert-command) ;; Deutsche Belegung amerikanischer Tastaturen: aus `ger-keys' ; (german-keyboard) )) ;; ;; Provide some usefull function keys ;; ---------------------------------- ;; Have a look on /usr/share/emacs/site-lisp/function-keys.el ;; Extensions or changes of the keymap ;; original definitions will found in loaddefs.el. ;;(global-set-key [escape] [?\e]) ; Escape ;; (global-set-key [M-left] 'backward-word) (global-set-key [M-right] 'forward-word) (global-set-key [M-up] 'beginning-of-line) (global-set-key [M-down] 'end-of-line) ;; ; (global-set-key [C-left] 'backward-char) ; (global-set-key [C-right] 'forward-char) ; (global-set-key [C-up] 'previous-line) ; (global-set-key [C-down] 'next-line) ;; (global-set-key [S-left] 'backward-char) (global-set-key [S-right] 'forward-char) (global-set-key [S-up] 'previous-line) (global-set-key [S-down] 'next-line) ;; (global-set-key [find] 'isearch-forward) ; Search (global-set-key [select] 'set-mark-command) ; Mark ;; (global-set-key [S-next] 'end-of-buffer) (global-set-key [S-prior] 'beginning-of-buffer) (global-set-key [S-find] 'find-file) (global-set-key [S-select] 'switch-to-buffer) (global-set-key [S-insert] 'insert-file) ;; (if (and (= emacs-major-version 19) (= emacs-minor-version 29)) (define-key key-translation-map [f1] nil)) ; 19.29+ (global-set-key [S-f1] 'find-file) (global-set-key [M-f1] 'find-file) (global-set-key [f1] 'help-for-help) ; `Help' (global-set-key [pause] 'toggle-read-only) ; `HoldScreen' ;; (if (global-key-binding [f2]) (progn (global-set-key [S-f2] 'split-window) (global-set-key [M-f2] 'split-window)) (global-set-key [f2] 'split-window)) (if (global-key-binding [f2]) (progn (global-set-key [S-f2] 'split-window) (global-set-key [M-f2] 'split-window)) (global-set-key [f2] 'split-window)) (if (global-key-binding [f3]) (progn (global-set-key [S-f3] 'isearch-forward) (global-set-key [M-f3] 'isearch-forward)) (global-set-key [f3] 'isearch-forward)) (if (global-key-binding [f4]) (progn (global-set-key [S-f4] 'query-replace-regexp) (global-set-key [M-f4] 'query-replace-regexp)) (global-set-key [f4] 'query-replace-regexp)) (if (global-key-binding [f5]) (progn (global-set-key [S-f5] 'save-buffer) (global-set-key [M-f5] 'save-buffer)) (global-set-key [f5] 'save-buffer)) (if (global-key-binding [f6]) (progn (global-set-key [S-f6] 'find-file) (global-set-key [M-f6] 'find-file)) (global-set-key [f6] 'find-file)) (if (global-key-binding [f7]) (progn (global-set-key [S-f7] 'buffer-menu) (global-set-key [M-f7] 'buffer-menu)) (global-set-key [f7] 'buffer-menu)) (if (global-key-binding [f8]) (progn (global-set-key [S-f8] 'repeat-complex-command) (global-set-key [M-f8] 'repeat-complex-command)) (global-set-key [f8] 'repeat-complex-command)) (if (global-key-binding [f9]) (progn (global-set-key [S-f9] 'execute-extended-command) (global-set-key [M-f9] 'execute-extended-command)) (global-set-key [f9] 'execute-extended-command)) (if (global-key-binding [f10]) (progn (global-set-key [S-f10] 'eval-expression) (global-set-key [M-f10] 'eval-expression)) (global-set-key [f10] 'eval-expression)) ;; ;;(global-set-key [f11] [?\e]) ; Escape (global-set-key [f11] esc-map) ; Escape ;; (global-set-key [f12] 'backward-delete-char-untabify) ; Backspace ;; ;; DEC keyboard: f13 up to f20 (global-set-key [f13] 'newline) ; Linefeed (global-set-key [linefeed] 'newline) ; Linefeed ;; (global-set-key [f14] 'switch-to-buffer) ;; ;; Emacs original key binding ;; ; (global-set-key [home] 'beginning-of-buffer) ; ; (global-set-key [end] 'end-of-buffer) ; ;; (global-set-key [help] 'info) ; Help (global-set-key [M-help] 'repeat-complex-command) ; Redo (global-set-key [menu] 'execute-extended-command) ; Do (global-set-key [M-menu] 'eval-expression) ; eval ;; (global-set-key [f17] 'beginning-of-buffer) (global-set-key [f18] 'end-of-buffer) (global-set-key [f19] 'save-buffer) (global-set-key [f20] 'find-file) ;; ;; Translate `C-h' to DEL. ; (keyboard-translate ?\C-h ?\C-?) ;; ;; Translate DEL to `C-h'. ; (keyboard-translate ?\C-? ?\C-h) ;;;;;;;;;; ;; the end ++++++ emacs-22.0.99-x11r7.patch ++++++ --- src/xrdb.c +++ src/xrdb.c 2007-05-15 18:01:41.439517668 +0200 @@ -54,6 +54,9 @@ Boston, MA 02110-1301, USA. */ #include <X11/X.h> #include <X11/Xutil.h> #include <X11/Xresource.h> +#ifdef USE_X_TOOLKIT +#include <X11/Intrinsic.h> +#endif #ifdef HAVE_PWD_H #include <pwd.h> #endif @@ -609,6 +612,15 @@ x_load_resources (display, xrm_string, m XrmPutLineResource (&rdb, line); #endif /* not USE_MOTIF */ +#ifdef USE_X_TOOLKIT + if ((db = XtScreenDatabase(DefaultScreenOfDisplay (display)))) + { + XrmCombineDatabase (rdb, &db, FALSE); + rdb = db; + } + else + { +#endif /* not USE_X_TOOLKIT */ user_database = get_user_db (display); @@ -651,6 +663,10 @@ x_load_resources (display, xrm_string, m XrmMergeDatabases (db, &rdb); } +#ifdef USE_X_TOOLKIT + } /* (db != XtScreenDatabase()) */ +#endif /* not USE_X_TOOLKIT */ + return rdb; } ++++++ emacs-22.0.99-xim.patch ++++++ --- src/xfns.c +++ src/xfns.c 2007-05-15 18:37:13.282161551 +0200 @@ -1959,8 +1959,8 @@ static XIMStyle best_xim_style P_ ((XIMS static XIMStyle supported_xim_styles[] = { - XIMPreeditPosition | XIMStatusArea, XIMPreeditPosition | XIMStatusNothing, + XIMPreeditPosition | XIMStatusArea, XIMPreeditPosition | XIMStatusNone, XIMPreeditNothing | XIMStatusArea, XIMPreeditNothing | XIMStatusNothing, ++++++ emacs-22.2-iconic.patch ++++++ --- lisp/startup.el +++ lisp/startup.el 2008-03-31 12:23:04.503065574 +0200 @@ -1996,6 +1996,9 @@ A fancy display is used on graphic displ ((equal argi "-no-splash") (setq inhibit-startup-screen t)) + ((equal argi "-iconic") + (setq inhibit-startup-message t)) + ((member argi '("-f" ; what the manual claims "-funcall" "-e")) ; what the source used to say ++++++ emacs-23.1-asian-print.patch ++++++ --- lisp/ps-mule.el +++ lisp/ps-mule.el 2009-08-10 18:18:24.585901695 +0200 @@ -240,7 +240,7 @@ Currently, data for Japanese and Korean (japanese-jisx0208 (normal bdf "jiskan24.bdf")) (korean-ksc5601 - (normal bdf "hanglm24.bdf")) + (normal bdf "gulim24.bdf")) (japanese-jisx0212 (normal bdf ("jksp40.bdf" "jisksp40.bdf"))) (chinese-cns11643-1 ++++++ emacs-23.1-flyspell.patch ++++++ --- lisp/textmodes/flyspell.el +++ lisp/textmodes/flyspell.el 2009-08-11 14:54:35.749901460 +0200 @@ -279,6 +279,12 @@ If `flyspell-large-region' is nil, all r "The key binding for flyspell auto correction." :group 'flyspell) +(defvar flyspell-signature-separator + (if (boundp 'message-signature-separator) + message-signature-separator + "^-- $") + "*String used to recognize .signatures.") + ;;*---------------------------------------------------------------------*/ ;;* Mode specific options */ ;;* ------------------------------------------------------------- */ @@ -302,7 +308,6 @@ property of the major mode name.") ;;*--- mail mode -------------------------------------------------------*/ (put 'mail-mode 'flyspell-mode-predicate 'mail-mode-flyspell-verify) (put 'message-mode 'flyspell-mode-predicate 'mail-mode-flyspell-verify) -(defvar message-signature-separator) (defun mail-mode-flyspell-verify () "Function used for `flyspell-generic-check-word-predicate' in Mail mode." (let ((header-end (save-excursion @@ -314,11 +319,11 @@ property of the major mode name.") nil t) (point))) (signature-begin - (if (not (boundp 'message-signature-separator)) + (if (not (boundp 'flyspell-signature-separator)) (point-max) (save-excursion (goto-char (point-max)) - (re-search-backward message-signature-separator nil t) + (re-search-backward flyspell-signature-separator nil t) (point))))) (cond ((< (point) header-end) (and (save-excursion (beginning-of-line) ++++++ emacs-24.1-bnc628268.patch ++++++ --- lisp/obsolete/spell.el +++ lisp/obsolete/spell.el 2012-06-27 11:54:27.600009491 +0000 @@ -64,7 +64,7 @@ as its \"correct\" spelling; then the qu (with-no-warnings (spell-region (point-min) (point-max) "buffer"))) ;;;###autoload -(make-obsolete 'spell-buffer 'ispell-buffer "23.1") +(define-obsolete-function-alias 'spell-buffer 'ispell-buffer "23.1") ;;;###autoload (defun spell-word () @@ -83,7 +83,7 @@ and `query-replace' the entire buffer to (with-no-warnings (spell-region beg end (buffer-substring beg end))))) ;;;###autoload -(make-obsolete 'spell-word 'ispell-word "23.1") +(define-obsolete-function-alias 'spell-word 'ispell-word "23.1") ;;;###autoload (defun spell-region (start end &optional description) @@ -141,7 +141,7 @@ for example, \"word\"." (query-replace-regexp (concat "\\b" (regexp-quote word) "\\b") newword))))))) ;;;###autoload -(make-obsolete 'spell-region 'ispell-region "23.1") +(define-obsolete-function-alias 'spell-region 'ispell-region "23.1") ;;;###autoload (defun spell-string (string) ++++++ emacs-24.1-configure.patch ++++++ ++++ 1034 lines (skipped) ++++++ emacs-24.1-decl.dif ++++++ --- src/frame.c +++ src/frame.c 2012-06-26 16:09:59.692010311 +0000 @@ -21,6 +21,9 @@ along with GNU Emacs. If not, see <http #include <stdio.h> #include <ctype.h> +#ifdef STDC_HEADERS +#include <stdlib.h> +#endif #include <errno.h> #include <limits.h> #include <setjmp.h> ++++++ emacs-24.1-gets.patch ++++++ --- emacs-24.1/lib/stdio.in.h.old 2012-09-10 11:22:57.405938628 +0200 +++ emacs-24.1/lib/stdio.in.h 2012-09-10 11:24:01.071262324 +0200 @@ -715,8 +715,10 @@ /* It is very rare that the developer ever has full control of stdin, so any use of gets warrants an unconditional warning. Assume it is always declared, since it is required by C89. */ +#if HAVE_RAW_DECL_GETS _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif +#endif #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ ++++++ emacs-24.1-glibc.patch ++++++ --- lib-src/Makefile.in +++ lib-src/Makefile.in 2012-06-14 11:41:22.208010103 +0000 @@ -307,14 +307,16 @@ test-distrib${EXEEXT}: ${srcdir}/test-di ../lib/libgnu.a: ../src/config.h cd ../lib && $(MAKE) libgnu.a +REGEXPOBJ = +#REGEXPOBJ = regex.o regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h ${CC} -c ${CPP_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ ${srcdir}/../src/regex.c -etags${EXEEXT}: ${srcdir}/etags.c regex.o ../src/config.h +etags${EXEEXT}: ${srcdir}/etags.c $(REGEXPOBJ) ../src/config.h $(CC) ${ALL_CFLAGS} -DEMACS_NAME="\"GNU Emacs\"" \ -DVERSION="\"${version}\"" ${srcdir}/etags.c \ - regex.o $(LOADLIBES) -o etags + $(REGEXPOBJ) $(LOADLIBES) -o etags ebrowse${EXEEXT}: ${srcdir}/ebrowse.c ${srcdir}/../lib/min-max.h ../src/config.h $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" \ @@ -325,7 +330,7 @@ ebrowse${EXEEXT}: ${srcdir}/ebrowse.c ${ ctags${EXEEXT}: etags${EXEEXT} $(CC) ${ALL_CFLAGS} -DCTAGS -DEMACS_NAME="\"GNU Emacs\"" \ -DVERSION="\"${version}\"" ${srcdir}/etags.c \ - regex.o $(LOADLIBES) -o ctags + $(REGEXPOBJ) $(LOADLIBES) -o ctags profile${EXEEXT}: ${srcdir}/profile.c ../src/config.h $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile --- lib-src/etags.c +++ lib-src/etags.c 2012-06-26 16:03:43.356510061 +0000 @@ -92,7 +92,7 @@ char pot_etags_version[] = "@(#) pot rev #endif #ifdef HAVE_CONFIG_H -# include <config.h> +# include <../src/config.h> /* This is probably not necessary any more. On some systems, config.h used to define static as nothing for the sake of unexec. We don't want that here since we don't use unexec. None of these systems --- src/s/gnu-linux.h +++ src/s/gnu-linux.h 2012-06-26 16:05:56.116010465 +0000 @@ -159,3 +159,14 @@ along with GNU Emacs. If not, see <http } while (0) #endif #endif + +/* we have regex in the GNU C-library. */ +#define REGEXP_IN_LIBC + +/* Use system malloc from glibc and memory mappging */ +#if !defined(__ia64__) +# define SYSTEM_MALLOC +# define USE_MMAP_FOR_BUFFERS +#endif + + ++++++ emacs-24.1-nonvoid.patch ++++++ --- src/xmenu.c +++ src/xmenu.c 2012-06-26 17:12:22.856009442 +0000 @@ -316,8 +316,8 @@ for instance using the window manager, t #else { Lisp_Object title; - const char *error_name; - Lisp_Object selection; + const char *error_name = NULL; + Lisp_Object selection = Qnil; int specpdl_count = SPECPDL_INDEX (); /* Decode the dialog items from what was specified. */ ++++++ emacs-24.1-ppc64.patch ++++++ --- configure.in +++ configure.in 2012-06-26 16:30:51.496510306 +0000 @@ -420,7 +420,8 @@ case "${canonical}" in case ${canonical} in alpha*) machine=alpha ;; s390x-*) machine=ibms390x ;; - powerpc*) machine=macppc ;; + powerpc*|ppc*) + machine=macppc ;; sparc*) machine=sparc ;; ia64*) machine=ia64 ;; m68k*) machine=m68k ;; @@ -1050,7 +1051,7 @@ if test "x$crt_files" != x; then test -e /usr/lib64/crtn.o && CRT_DIR=/usr/lib64 ;; - powerpc64-*-linux-gnu* | sparc64-*-linux-gnu*) CRT_DIR=/usr/lib64 ;; + powerpc64-*-linux-gnu* | ppc64-*-linux-gnu* | sparc64-*-linux-gnu*) CRT_DIR=/usr/lib64 ;; esac case "$opsys" in --- src/m/macppc.h +++ src/m/macppc.h 2012-06-26 16:31:30.584509749 +0000 @@ -17,6 +17,12 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef __powerpc64__ +#ifndef _ARCH_PPC64 +#define _ARCH_PPC64 +#endif +#endif + #ifdef _ARCH_PPC64 #ifndef _LP64 #define _LP64 ++++++ emacs-24.1-ps-bdf.patch ++++++ --- lisp/ldefs-boot.el +++ lisp/ldefs-boot.el 2012-06-26 16:26:01.900010474 +0000 @@ -23074,9 +23074,9 @@ With prefix argument ARG, restart the Pr ;;;;;; 65510)) ;;; Generated autoloads from ps-bdf.el -(defvar bdf-directory-list (if (memq system-type '(ms-dos windows-nt)) (list (expand-file-name "fonts/bdf" installation-directory)) '("/usr/local/share/emacs/fonts/bdf")) "\ +(defvar bdf-directory-list (if (memq system-type '(ms-dos windows-nt)) (list (expand-file-name "fonts/bdf" installation-directory)) '("/usr/share/fonts/bdf")) "\ List of directories to search for `BDF' font files. -The default value is '(\"/usr/local/share/emacs/fonts/bdf\").") +The default value is '(\"/usr/share/fonts/bdf\").") (custom-autoload 'bdf-directory-list "ps-bdf" t) --- lisp/ps-bdf.el +++ lisp/ps-bdf.el 2009-08-10 16:21:47.000000000 +0000 @@ -42,9 +42,9 @@ (defcustom bdf-directory-list (if (memq system-type '(ms-dos windows-nt)) (list (expand-file-name "fonts/bdf" installation-directory)) - '("/usr/local/share/emacs/fonts/bdf")) + '("/usr/share/fonts/bdf")) "List of directories to search for `BDF' font files. -The default value is '(\"/usr/local/share/emacs/fonts/bdf\")." +The default value is '(\"/usr/share/fonts/bdf\")." :type '(repeat :tag "BDF font directory list" (directory :tag "BDF font directory")) :group 'ps-print-miscellany) ++++++ emacs-24.1-ps-mule.patch ++++++ --- lisp/ps-mule.el +++ lisp/ps-mule.el 2009-08-11 12:41:44.000000000 +0000 @@ -182,6 +182,8 @@ See also the variable `ps-font-info-data (defconst ps-mule-font-info-database-latin '((iso-8859-1 + (normal nil nil)) + (iso-8859-15 (normal nil nil))) "Sample setting of `ps-mule-font-info-database' to use latin fonts.") --- lisp/textmodes/ispell.el +++ lisp/textmodes/ispell.el 2012-06-26 16:37:56.424010429 +0000 @@ -1339,10 +1339,18 @@ Protects against bogus binding of `enabl nil ;; in pipe mode. Disable extended-char-mode (nth 6 (or (assoc ispell-current-dictionary ispell-local-dictionary-alist) (assoc ispell-current-dictionary ispell-dictionary-alist))))) +;; +;; Most languages in ISO-8859-15 for EURO symbols uses ISO-8859-1 chars +;(defun ispell-get-coding-system () +; (nth 7 (or (assoc ispell-current-dictionary ispell-local-dictionary-alist) +; (assoc ispell-current-dictionary ispell-dictionary-alist)))) (defun ispell-get-coding-system () - (nth 7 (or (assoc ispell-current-dictionary ispell-local-dictionary-alist) - (assoc ispell-current-dictionary ispell-dictionary-alist)))) - + (let ((sys (nth 7 (or (assoc ispell-current-dictionary ispell-local-dictionary-alist) + (assoc ispell-current-dictionary ispell-dictionary-alist))))) + (if (and (boundp 'buffer-file-coding-system) + (eq buffer-file-coding-system 'iso-latin-9) + (eq sys 'iso-latin-1)) + 'iso-latin-9 sys))) (defvar ispell-pdict-modified-p nil "Non-nil means personal dictionary has modifications to be saved.") ++++++ emacs-24.1-s390x.dif ++++++ --- src/m/ibms390x.h +++ src/m/ibms390x.h 2012-06-26 17:21:34.240010197 +0000 @@ -29,4 +29,8 @@ along with GNU Emacs. If not, see <http #define VALBITS 60 /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ -#define XPNTR(a) XUINT (a) + +#undef DATA_SEG_BITS +#ifdef USE_LISP_UNION_TYPE +#undef USE_LISP_UNION_TYPE +#endif ++++++ emacs-24.1-sendmail-path.patch ++++++ --- lisp/mail/sendmail.el +++ lisp/mail/sendmail.el 2012-06-26 17:16:27.176010331 +0000 @@ -42,13 +42,7 @@ :group 'sendmail :version "22.1") -(defcustom sendmail-program - (or (executable-find "sendmail") - (cond - ((file-exists-p "/usr/sbin/sendmail") "/usr/sbin/sendmail") - ((file-exists-p "/usr/lib/sendmail") "/usr/lib/sendmail") - ((file-exists-p "/usr/ucblib/sendmail") "/usr/ucblib/sendmail") - (t "sendmail"))) +(defcustom sendmail-program "/usr/sbin/sendmail" "Program used to send messages." :version "24.1" ; add executable-find, remove fakemail :group 'mail ++++++ emacs-24.1-tinfo.dif ++++++ --- configure.in +++ configure.in 2012-06-26 17:32:44.272010723 +0000 @@ -2803,7 +2803,7 @@ AC_DEFUN([tputs_link_source], [ ]) # Maybe curses should be tried earlier? # See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9736#35 -for tputs_library in '' ncurses terminfo termcap curses; do +for tputs_library in '' tinfo ncurses ncursesw terminfo termcap curses; do OLIBS=$LIBS if test -z "$tputs_library"; then LIBS_TERMCAP= @@ -2855,7 +2855,7 @@ case "$opsys" in ## (HAVE_LIBNCURSES was not always true, but is since 2010-03-18.) if test "x$HAVE_LIBNCURSES" = "xyes"; then TERMINFO=yes - LIBS_TERMCAP="-lncurses" + LIBS_TERMCAP="-ltinfo" fi ;; --- src/config.in +++ src/config.in 2011-11-22 14:34:49.000000000 +0000 @@ -450,6 +450,9 @@ along with GNU Emacs. If not, see <http /* Define to 1 if you have the `ncurses' library (-lncurses). */ #undef HAVE_LIBNCURSES +/* Define to 1 if you have the `tinfo' library (-ltinfo). */ +#undef HAVE_LIBTINFO + /* Define to 1 if using libotf. */ #undef HAVE_LIBOTF ++++++ emacs-24.1-xevent.patch ++++++ --- src/xmenu.c +++ src/xmenu.c 2012-07-03 11:51:37.448009822 +0000 @@ -964,7 +964,7 @@ set_frame_menubar (FRAME_PTR f, int firs { deep_p = 1; f->output_data.x->saved_menu_event = (XEvent*)xmalloc (sizeof (XEvent)); - f->output_data.x->saved_menu_event->type = 0; + memset(f->output_data.x->saved_menu_event,0,sizeof(XEvent)); } #ifdef USE_GTK --- src/xselect.c +++ src/xselect.c 2012-07-03 11:08:10.732010284 +0000 @@ -2344,7 +2344,14 @@ x_fill_property_data (Display *dpy, Lisp Lisp_Object o = XCAR (iter); if (INTEGERP (o) || FLOATP (o) || CONSP (o)) - val = cons_to_signed (o, LONG_MIN, LONG_MAX); + { + if (INTEGERP (o) && (XFASTINT (o) > LONG_MAX || XFASTINT (o) < LONG_MIN)) + val = (long) XFASTINT (o); + else if (FLOATP (o) && (XFLOAT_DATA (o) > LONG_MAX || XFLOAT_DATA (o) < LONG_MIN)) + val = (long) XFLOAT_DATA (o); + else + val = cons_to_signed (o, LONG_MIN, LONG_MAX); + } else if (STRINGP (o)) { BLOCK_INPUT; --- src/xterm.c +++ src/xterm.c 2012-07-03 11:47:12.060510503 +0000 @@ -5753,9 +5753,10 @@ static struct x_display_info *next_noop_ #define SET_SAVED_BUTTON_EVENT \ do \ { \ - if (f->output_data.x->saved_menu_event == 0) \ + if (f->output_data.x->saved_menu_event == 0) { \ f->output_data.x->saved_menu_event \ = (XEvent *) xmalloc (sizeof (XEvent)); \ + memset(f->output_data.x->saved_menu_event,0,sizeof(XEvent));}\ *f->output_data.x->saved_menu_event = event; \ inev.ie.kind = MENU_BAR_ACTIVATE_EVENT; \ XSETFRAME (inev.ie.frame_or_window, f); \ ++++++ emacs-24.1-xgselect.patch ++++++ --- src/xgselect.c +++ src/xgselect.c 2012-06-27 11:58:47.756081195 +0000 @@ -58,7 +58,12 @@ xg_select (int max_fds, SELECT_TYPE *rfd gfds = xpalloc (0, &gfds_size, n_gfds - gfds_size, INT_MAX, sizeof *gfds); } - + else if (!gfds) + { + gfds_size = 1; + gfds = xmalloc (sizeof (*gfds)); + } + n_gfds = g_main_context_query (context, G_PRIORITY_LOW, &tmo_in_millisec, ++++++ emacs-24.1.dif ++++++ ++++ 875 lines (skipped) ++++++ emacs-24.2-configure.patch ++++++ ++++ 1034 lines (skipped) ++++++ emacs-rpmlintrc ++++++ addFilter(".*no-documentation.*") addFilter(".*zero-length.*/var/games/emacs/.*-scores.*") addFilter(".*hidden-file-or-dir.*/etc/skel/.gnu-emacs.*") addFilter(".*file-in-usr-marked-as-conffile.*/usr/share/emacs/site-lisp/site-start.el.*") ++++++ emacs.desktop ++++++ [Desktop Entry] Encoding=UTF-8 Name=Emacs GenericName=Text Editor MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; Exec=emacs %f Icon=emacs Path= Type=Application Terminal=false X-KDE-StartupNotify=false ++++++ emacs.test ++++++ Testform f�r emacs =================== 22.05.2007: Version 22.0.99 Maintainer: werner Vorraussetzungen: ================= X sollte installiert sein. Starten: ======== emacs emacs -nw emacs -q --no-site emacs -nw -q --no-site als Editor von mailx/elm/pine ... Testen mit verschiedensten File-Typen (*.tex, man-pages. *.html, info-mode, gnus, rmail, ...) Ergebnisse: =========== H�ngt von der gew�hlten mode ab. -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org