SHA256
1
0
forked from pool/emacs
OBS User unknown 2009-04-02 16:18:28 +00:00 committed by Git OBS Bridge
parent eab0cd090c
commit 06f7f043ec
3 changed files with 44 additions and 8 deletions

24
emacs-22.3-flyspell.patch Normal file
View File

@ -0,0 +1,24 @@
--- lisp/textmodes/flyspell.el
+++ lisp/textmodes/flyspell.el 2009-03-31 16:46:41.440001521 +0200
@@ -263,6 +263,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 */
;;* ------------------------------------------------------------- */
@@ -298,7 +304,7 @@ property of the major mode name.")
(point)))
(signature-begin (save-excursion
(goto-char (point-max))
- (re-search-backward message-signature-separator
+ (re-search-backward flyspell-signature-separator
nil t)
(point))))
(cond ((< (point) header-end)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 31 16:35:32 CEST 2009 - werner@suse.de
- Add variable for signature separator if not defined for mail
messages (bnc#483563)
-------------------------------------------------------------------
Wed Oct 29 12:10:41 CET 2008 - werner@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package emacs (Version 22.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,7 @@ Url: http://www.gnu.org/software/emacs/
License: GPL v2 or later
Group: Productivity/Editors/Emacs
Version: 22.3
Release: 4
Release: 5
Obsoletes: ge_exec ge_site emac_nox emacmisc emacsbin emacsger emacs-url Mule-UCS emacs-calc erc
Requires: emacs-info = %{version}
Requires: emacs_program = %{version}-%{release}
@ -54,6 +54,7 @@ Patch12: emacs-22.0.99-x11r7.patch
Patch13: emacs-22.0.99-s390x.dif
Patch14: emacs-22.1-conf.diff
Patch15: emacs-22.2-iconic.patch
Patch16: emacs-22.3-flyspell.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
%if "%_exec_prefix" == "/usr/X11R6"
@ -139,7 +140,8 @@ Call it
Emacs
Love it or leave it.
Love it or leave it. This is the Emacs binary with X Window System
Support.
@ -230,6 +232,7 @@ Authors:
%patch13 -p0 -b .s390x
%patch14 -p0 -b .conf
%patch15 -p0 -b .iconic
%patch16 -p0 -b .flyspell
%patch
if test ! -e $HOME/.mh_profile && type -p install-mh > /dev/null 2>&1; then
install-mh -auto < /dev/null
@ -3296,6 +3299,9 @@ done
/usr/share/emacs/%{version}/lisp/xt-mouse.el.gz
%changelog
* Tue Mar 31 2009 werner@suse.de
- Add variable for signature separator if not defined for mail
messages (bnc#483563)
* Wed Oct 29 2008 werner@suse.de
- Do not overwrite common emacs settings (bnc#438601)
* Fri Oct 17 2008 werner@suse.de
@ -3499,7 +3505,7 @@ done
* Wed Oct 13 2004 werner@suse.de
- Add workaround for XKey modifier detection even if the keys
are not marked as modifiers (bug #47192)
* Fri Sep 17 2004 mmj@suse.de
* Thu Sep 16 2004 mmj@suse.de
- Add php-mode-1.1 [#40286]
* Mon Sep 13 2004 werner@suse.de
- Do not overwrite emacs binary with a sym link
@ -3571,7 +3577,7 @@ done
- Provide splitaliasing for updating from old ge_exec
* Tue Sep 10 2002 adrian@suse.de
- remove obsoleting of itself
* Sat Aug 17 2002 schwab@suse.de
* Fri Aug 16 2002 schwab@suse.de
- Ported to PPC64.
* Thu Aug 15 2002 ro@suse.de
- fixed typo in specfile
@ -3765,7 +3771,7 @@ done
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Mon Aug 16 1999 werner@suse.de
- The name is Andreas Schwab, sorry
* Sat Aug 14 1999 werner@suse.de
* Fri Aug 13 1999 werner@suse.de
- Add bug fix of Andy Schwab
* Wed Aug 04 1999 werner@suse.de
- New version 20.4
@ -3798,7 +3804,7 @@ done
- fixed spec file (double entry Summary)
* Thu Nov 12 1998 bs@suse.de
- fixed spec file for new rpm.
* Fri Sep 18 1998 werner@suse.de
* Thu Sep 17 1998 werner@suse.de
- Some more fixes
* include cc-defs.el into all *.el which needs c-safe
* Mon Sep 07 1998 werner@suse.de
@ -3832,7 +3838,7 @@ done
- Add missing setsid in callproc.c
* Mon Nov 10 1997 werner@suse.de
- ready for autobuild
* Mon Jun 02 1997 bs@suse.de
* Sun Jun 01 1997 bs@suse.de
- removed usr/bin/ctags & usr/man/man1/ctags.1.gz (included in package ctags)
* Sat May 24 1997 werner@suse.de
- some changes in keycode under TERM=xterm (term/xterm.el)