Hello community, here is the log from the commit of package semi-xemacs for openSUSE:Factory checked in at 2014-02-12 07:11:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/semi-xemacs (Old) and /work/SRC/openSUSE:Factory/.semi-xemacs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "semi-xemacs" Changes: -------- New Changes file: --- /dev/null 2013-11-25 01:44:08.036031256 +0100 +++ /work/SRC/openSUSE:Factory/.semi-xemacs.new/semi-emacs.changes 2014-02-12 07:11:17.000000000 +0100 @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Tue Jan 28 12:03:20 CET 2014 - [email protected] + +- mime-hide-buttons-in-reply.diff: + Add mime-hide-buttons-in-reply custom variable + +------------------------------------------------------------------- +Wed Jan 22 14:29:47 CET 2014 - [email protected] + +- clean up spec file via osc service +- update url, etc + +------------------------------------------------------------------- +Fri Jun 27 15:51:44 CEST 2008 - [email protected] + +- ported from semi-xemacs-1.14.6 + --- /work/SRC/openSUSE:Factory/semi-xemacs/semi-xemacs.changes 2011-09-23 12:45:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.semi-xemacs.new/semi-xemacs.changes 2014-02-12 07:11:17.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Jan 28 12:03:20 CET 2014 - [email protected] + +- reformat spec file +- mime-hide-buttons-in-reply.diff: + Add mime-hide-buttons-in-reply custom variable + +------------------------------------------------------------------- New: ---- mime-hide-buttons-in-reply.diff semi-emacs.changes semi-emacs.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ semi-emacs.spec ++++++ # # spec file for package semi-emacs # # Copyright (c) 2014 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: semi-emacs BuildRequires: emacs-nox BuildRequires: flim Requires: emacs Requires: flim Version: 1.14.6 Release: 0 Url: http://git.chise.org/elisp/semi/ Source0: semi-%{version}.tar.bz2 Patch0: autoloads.patch Patch1: mime-hide-buttons-in-reply.diff Summary: Library to provide MIME feature for GNU Emacs License: GPL-2.0+ Group: Productivity/Editors/Emacs BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description SEMI is a library to provide MIME feature for GNU Emacs. MIME is a proposed internet standard for including content and headers other than (ASCII) plain text in messages %prep %setup -q -n semi-%{version} %patch0 -p1 %patch1 -p1 # necessary to generate the auto-autoloads.el file: touch *.el %build %define emacs_package_dir /usr/share/emacs/site-lisp/ make LISPDIR=%{emacs_package_dir} %install mkdir -p $RPM_BUILD_ROOT%{emacs_package_dir}/semi make install LISPDIR=$RPM_BUILD_ROOT%{emacs_package_dir} %files %defattr(-,root,root) %doc NEWS README* ChangeLog SEMI* TODO VERSION %{emacs_package_dir}/* %changelog ++++++ semi-xemacs.spec ++++++ --- /var/tmp/diff_new_pack.qImg0K/_old 2014-02-12 07:11:18.000000000 +0100 +++ /var/tmp/diff_new_pack.qImg0K/_new 2014-02-12 07:11:18.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package semi-xemacs (Version 1.14.6) +# spec file for package semi-xemacs # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -15,40 +15,37 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: semi-xemacs -BuildRequires: compface flim-xemacs krb5 libpng-devel libtiff-devel openldap2-devel xorg-x11-devel -License: GPL-2.0+ -Group: Productivity/Editors/Emacs +BuildRequires: compface +BuildRequires: flim-xemacs +BuildRequires: krb5 +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: openldap2-devel +BuildRequires: xorg-x11-devel Requires: xemacs -AutoReqProv: on Version: 1.14.6 -Release: 249 -Url: ftp://ftp.m17n.org/pub/mule/semi/semi-1.14-for-flim-1.14 -# original source is gzipped. -Source0: ftp://ftp.m17n.org/pub/mule/semi/semi-1.14-for-flim-1.14/semi-%{version}.tar.bz2 +Release: 0 +Url: http://git.chise.org/elisp/semi/ +Source0: semi-%{version}.tar.bz2 Patch0: autoloads.patch +Patch1: mime-hide-buttons-in-reply.diff Summary: library to provide MIME feature for XEmacs +License: GPL-2.0+ +Group: Productivity/Editors/Emacs BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -%define prefix /usr %description SEMI is a library to provide MIME feature for XEmacs. MIME is a proposed internet standard for including content and headers other than (ASCII) plain text in messages - - -Authors: --------- - MORIOKA Tomohiko <[email protected]> - %prep %setup -q -n semi-%{version} %patch0 -p1 +%patch1 -p1 # necessary to generate the auto-autoloads.el file: touch *.el ++++++ mime-hide-buttons-in-reply.diff ++++++ --- mime-view.el | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) --- a/mime-view.el +++ b/mime-view.el @@ -77,6 +77,12 @@ buttom. Nil means don't scroll at all." :group 'mime-view :type '(repeat file)) +(defcustom mime-view-content-types-to-show '(application) + "Content types which have MIME buttons rendered." + :group 'mime-view + :type '(repeat sexp)) + +(defvar mime-hide-buttons-in-reply nil) ;;; @ in raw-buffer (representation space) ;;; @@ -1078,10 +1084,14 @@ MEDIA-TYPE must be (TYPE . SUBTYPE), TYP (or situation (setq situation (mime-find-entity-preview-situation entity default-situation))) - (let ((button-is-invisible - (eq (cdr (or (assq '*entity-button situation) - (assq 'entity-button situation))) - 'invisible)) + (let* ((entity-button (cdr (or (assq '*entity-button situation) + (assq 'entity-button situation)))) + (button-is-visible + (or mime-view-buttons-visible + (and entity-button + (not (eq entity-button 'invisible))) + (member (cdr (assq 'type (mime-entity-content-type entity))) + mime-view-content-types-to-show))) (header-is-visible (eq (cdr (or (assq '*header situation) (assq 'header situation))) @@ -1094,11 +1104,8 @@ MEDIA-TYPE must be (TYPE . SUBTYPE), TYP (set-buffer preview-buffer) (setq nb (point)) (narrow-to-region nb nb) - (or button-is-invisible - ;; (if (mime-view-entity-button-visible-p entity) - (mime-view-insert-entity-button entity) - ;; ) - ) + (when (and button-is-visible (not mime-hide-buttons-in-reply)) + (mime-view-insert-entity-button entity)) (if header-is-visible (let ((header-presentation-method (or (cdr (assq 'header-presentation-method situation)) @@ -1122,7 +1129,7 @@ MEDIA-TYPE must be (TYPE . SUBTYPE), TYP (if (functionp body-presentation-method) (funcall body-presentation-method entity situation) (mime-display-text/plain entity situation))) - (when button-is-invisible + (when (not button-is-visible) (goto-char (point-max)) (mime-view-insert-entity-button entity) ) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
