Dr. Werner Fink 2023-03-29 08:32:03 +00:00 committed by Git OBS Bridge
commit 2207e21fd1
8 changed files with 433 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,107 @@
From: Egbert Eich <eich@suse.de>
Date: Thu Jan 21 14:47:45 2016 +0100
Subject: Require vm-reply.el from vm-compose-mail.
Patch-mainline: Upstream
References: bsc#939497
Also, cleaned up all redundant autoloads in vm-reply.el.
Uday S Reddy
https://launchpad.net/bugs/913005
http://bazaar.launchpad.net/~vm/vm/trunk/revision/1331
Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Egbert Eich <eich@suse.com>
---
lisp/vm-reply.el | 9 ---------
lisp/vm.el | 1 +
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/lisp/vm-reply.el b/lisp/vm-reply.el
index add837f..34b794d 100755
--- a/lisp/vm-reply.el
+++ b/lisp/vm-reply.el
@@ -114,7 +114,6 @@
(while (re-search-forward "^" (point-max) t)
(insert vm-included-text-prefix)))
-;;;###autoload
(defun vm-fill-long-lines-in-reply ()
(interactive)
(let ((vm-word-wrap-paragraphs vm-word-wrap-paragraphs-in-reply)
@@ -295,7 +294,6 @@ messages of the folder are involved in this reply."
(setq re-list (cdr re-list))))
result)))
-;;;###autoload
(defun vm-mail-yank-default (&optional message)
"The default message yank handler when `mail-citation-hook' is set to nil."
(save-excursion
@@ -319,7 +317,6 @@ messages of the folder are involved in this reply."
(insert vm-included-text-prefix)
(forward-line 1)))))
-;;;###autoload
(defun vm-yank-message-other-folder (folder)
"Like vm-yank-message except the message is yanked from a folder other
than the one that spawned the current Mail mode buffer. The name of the
@@ -366,7 +363,6 @@ Don't call this function from a program."
(vm-bury-buffer newbuf)
(vm-bury-buffer sumbuf))))
-;;;###autoload
(defun vm-yank-message (message)
"Yank message number N into the current buffer at point.
When called interactively N is always read from the minibuffer. When
@@ -627,7 +623,6 @@ specified by `vm-included-text-headers' and
(setq alternatives (1- alternatives))
(setq parts (cdr parts))))))))
-;;;###autoload
(defun vm-mail-send-and-exit (&rest ignored)
"Send message and maybe delete the composition buffer.
The value of `vm-keep-sent-mesages' determines whether the composition buffer
@@ -803,7 +798,6 @@ This function is a variant of `vm-get-header-contents'."
(defvar coding-system-for-write)
-;;;###autoload
(defun vm-mail-send ()
"Just like mail-send except that VM flags the appropriate message(s)
as replied to, forwarded, etc, if appropriate."
@@ -888,7 +882,6 @@ as replied to, forwarded, etc, if appropriate."
(vm-keep-mail-buffer (current-buffer)))
(vm-display nil nil '(vm-mail-send) '(vm-mail-send))))
-;;;###autoload
(defun vm-do-fcc-before-mime-encode ()
"The name says it all.
Sometimes you may want to save a message unencoded, specifically not to waste
@@ -923,7 +916,6 @@ storage for attachments which are stored on disk anyway."
(vm-matched-header-contents)
nil ))))))
-;;;###autoload
(defun vm-mail-mode-remove-header (header-name-regexp)
(let (regexp)
(setq regexp (concat "^\\(" header-name-regexp "\\)\\|\\(^"
@@ -1653,7 +1645,6 @@ there is a current message."
(vm-get-header-contents (car vm-message-pointer) "From:")))
-;;;###autoload
(defun* vm-mail-internal (&key buffer-name to guessed-to subject
in-reply-to cc references newsgroups)
"Create a message buffer and set it up according to args.
diff --git a/lisp/vm.el b/lisp/vm.el
index 9b1395f..650d60e 100755
--- a/lisp/vm.el
+++ b/lisp/vm.el
@@ -1207,6 +1207,7 @@ summary buffer to select a folder."
send-actions return-action &rest ignored)
(interactive)
(vm-session-initialization)
+ (require 'vm-reply)
(if continue
(vm-continue-composing-message)
(let ((buffer (vm-mail-internal

102
U_rev-1313.patch Normal file
View File

@ -0,0 +1,102 @@
------------------------------------------------------------
revno: 1313
fixes bugs: https://launchpad.net/bugs/793541 https://launchpad.net/bugs/907286
committer: Uday S Reddy <u.s.reddy@cs.bham.ac.uk>
branch nick: trunk
timestamp: Thu 2011-12-29 19:19:09 +0000
message:
- Added a variable `vm-confirm-for-auto-archive' that controls the
confirmation dialogue for `vm-auto-archive-messages'. (Bug 793541)
- Add autoload for `vm-select-recipient-from-sender'. (Bug 907286)
diff:
=== modified file 'info/vm.texinfo'
--- info/vm.texinfo 2011-12-26 17:40:02 +0000
+++ info/vm.texinfo 2011-12-29 19:19:09 +0000
@@ -3487,10 +3487,15 @@
does. Messages saved this way are flagged ``written''.
@findex vm-auto-archive-messages
@kindex A
+@vindex vm-confirm-for-auto-archive
@item A (@code{vm-auto-archive-messages})
Save all unfiled messages that auto-match a folder via
@code{vm-auto-folder-alist} to their appropriate folders. Messages that
-are flagged for deletion are not saved by this command. If invoked with a
+are flagged for deletion are not saved by this command. This command asks
+for confirmation before archiving because it is a wholesale operation that
+cannot be easy reversed. (Set @code{vm-confirm-for-auto-archive} to
+@code{nil} to override the confirmation dialogue.) If the command is
+invoked with a
prefix argument, confirmation will be requested for each save.
@findex vm-pipe-message-to-command
@kindex ||
=== modified file 'lisp/vm-reply.el'
--- lisp/vm-reply.el 2011-12-26 09:50:31 +0000
+++ lisp/vm-reply.el 2011-12-29 19:19:09 +0000
@@ -1643,6 +1643,7 @@
(add-hook 'vm-mail-send-hook 'vm-forget-composition-buffer nil t)
(vm-update-ml-composition-buffer-count))
+;;;###autoload
(defun vm-select-recipient-from-sender ()
"Select a recipient's address from the current message's sender, if
there is a current message."
=== modified file 'lisp/vm-save.el'
--- lisp/vm-save.el 2011-12-26 15:46:17 +0000
+++ lisp/vm-save.el 2011-12-29 19:19:09 +0000
@@ -105,6 +105,10 @@
`vm-auto-folder-alist' to their appropriate folders. Messages that
are flagged for deletion are not saved.
+This command asks for confirmation before proceeding. Set
+`vm-confirm-for-auto-archive' to nil to turn off the confirmation
+dialogue.
+
Prefix arg means to ask user for confirmation before saving each message.
When invoked on marked messages (via `vm-next-command-uses-marks'),
=== modified file 'lisp/vm-vars.el'
--- lisp/vm-vars.el 2011-12-27 14:56:42 +0000
+++ lisp/vm-vars.el 2011-12-29 19:19:09 +0000
@@ -2983,7 +2983,7 @@
sent is a resent message (i.e. has a Resent- recipient header)
then the Resent-Date header will be removed/inserted instead.
-This is useful if you set mail-archive-file-name,
+This is useful if you set `mail-archive-file-name',
because your archived message will contain a Date header.
A nil value means don't insert a Date header."
@@ -2997,7 +2997,7 @@
sent is a resent message (i.e. has a Resent- recipient header) a
Resent-Message-ID header will be removed/inserted instead.
-This is useful if you set mail-archive-file-name, because your
+This is useful if you set `mail-archive-file-name', because your
archived messages will contain a Message-ID header, which may be
useful later for threading messages.
@@ -4606,7 +4606,7 @@
:type 'boolean)
(defcustom vm-delete-after-archiving nil
- "*Non-nil value causes VM automatically to mark messages for deletion
+ "*Non-nil value causes VM to automatically mark messages for deletion
after successfully auto-archiving them with the `vm-auto-archive-messages'
command."
:group 'vm-dispose
@@ -4618,6 +4618,12 @@
:group 'vm-dispose
:type 'boolean)
+(defcustom vm-confirm-for-auto-archive t
+ "*Non-nil value causes VM to ask for confirmation when
+`vm-auto-archive-messages' is invoked."
+ :group 'vm-dispose
+ :type 'boolean)
+
(defcustom vm-circular-folders nil
"*Value determines whether VM folders will be considered circular by
various commands. `Circular' means VM will wrap from the end of the folder

8
emacs-vm-autoload.el Normal file
View File

@ -0,0 +1,8 @@
;; Emacs-VM autoloads
(autoload 'vm "vm" "Start VM on your primary inbox." t)
(autoload 'vm-other-frame "vm" "Like `vm' but starts in another frame." t)
(autoload 'vm-visit-folder "vm" "Start VM on an arbitrary folder." t)
(autoload 'vm-visit-virtual-folder "vm" "Visit a VM virtual folder." t)
(autoload 'vm-mode "vm" "Run VM major mode on a buffer" t)
(autoload 'vm-mail "vm" "Send a mail message using VM." t)
(autoload 'vm-submit-bug-report "vm" "Send a bug report about VM." t)

85
emacs-vm.changes Normal file
View File

@ -0,0 +1,85 @@
-------------------------------------------------------------------
Thu Dec 7 12:43:45 UTC 2017 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Fix rpm group
-------------------------------------------------------------------
Thu Dec 7 11:06:49 UTC 2017 - dimstar@opensuse.org
- Escape the usage of %{VERSION} when calling out to rpm.
RPM 4.14 has %{VERSION} defined as 'the main packages version'.
-------------------------------------------------------------------
Thu Jan 21 14:26:04 UTC 2016 - eich@suse.com
- U_Require-vm-reply.el-from-vm-compose-mail.patch
Require vm-reply.el from vm-compose-mail (lp#913005)
(bsc#939497).
-------------------------------------------------------------------
Mon Jul 27 08:51:54 UTC 2015 - eich@suse.com
- U_rev-1313.patch:
- Added a variable `vm-confirm-for-auto-archive' that controls the
confirmation dialogue for `vm-auto-archive-messages'. (lp#793541)
- Add autoload for `vm-select-recipient-from-sender'. (lp#907286)
(bsc#939497).
-------------------------------------------------------------------
Wed Mar 11 12:47:08 UTC 2015 - dimstar@opensuse.org
- Use makeinfo --force to ignore the errors in vm.texinfo.
-------------------------------------------------------------------
Thu Oct 24 14:39:54 UTC 2013 - eich@suse.com
- Fixed up paths to make them package private
- Removed duplicate files from package
-------------------------------------------------------------------
Thu Oct 10 15:55:25 UTC 2013 - eich@suse.com
- Updated package to version 8.2.0b.
* Fixes warnings about missing hooks removed from GNU emacs after being
deprecated for over 10 years
* Fixes performance penalties caused by bidi being activated by default
on GNU emacs 24.
* Updates from version 7.19 - released in 2004, 24 releases ago.
Numerous changes and bug fixes, file 'NEWS' in the package docs list
the changes since 7.19.
- Project now hosted at https://launchpad.net/vm.
Upstream maintainership package has been transferred from Kyle Jones
to the 'VM development team'.
- vm-Makefile.patch:
Removed, matching Makefile no longer required since build uses autotools
now.
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant/obsolete tags/sections from specfile
(cf. packaging guidelines)
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Tue Aug 25 07:06:05 UTC 2009 - aj@suse.de
- Fix build, handle just one info file.
-------------------------------------------------------------------
Sun Apr 22 17:25:44 CEST 2007 - aj@suse.de
- Cleanup BuildRequires.
-------------------------------------------------------------------
Wed Jan 25 21:35:41 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Thu Jan 19 11:34:05 CET 2006 - hare@suse.de
- prepared for autobuild
- Using vm-7.19 as initial package

104
emacs-vm.spec Normal file
View File

@ -0,0 +1,104 @@
#
# spec file for package emacs-vm
#
# Copyright (c) 2017 SUSE LINUX 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: emacs-vm
Version: 8.2.0b
Release: 0
Summary: VM - a mail reader for GNU Emacs
License: GPL-2.0+
Group: Productivity/Text/Editors
Url: http://www.nongnu.org/viewmail/
Source: https://launchpad.net/vm/8.2.x/%{version}/+download/vm-%{version}.tgz
Source2: emacs-vm-autoload.el
# PATCH-FIX-UPSTREAM U_rev-1313.patch bsc#939497 eich@suse.com -- Fix Launchpad lp#793541 and lp#907286
Patch1: U_rev-1313.patch
Patch2: U_Require-vm-reply.el-from-vm-compose-mail.patch
BuildRequires: emacs-nox
BuildRequires: makeinfo
Requires: ed
Requires: emacs
Requires(post): %{install_info_prereq}
Requires(pre): %{install_info_prereq}
%description
VM (View Mail) is an Emacs subsystem that allows UNIX mail to be read
and disposed of within Emacs. Commands exist to do the normal things
expected of a mail user agent, such as generating replies, saving
messages to folders, deleting messages and so on. There are other more
advanced commands that do tasks like bursting and creating digests,
message forwarding, and organizing message presentation according to
various criteria.
%define _sitedir %{_prefix}/share/emacs/site-lisp
%define _vmdir %{_sitedir}/vm
%define _infodir %{_prefix}/share/info
%define _vmetcdir %{_prefix}/share/emacs/${emacs_ver}/etc/vm
%define _vmdocdir %{_prefix}/share/doc/packages/%{name}
%prep
%setup -q -n vm-%{version}
%patch1
%patch2 -p1
%build
export LC_CTYPE=ISO-8859-1
export EMACS_UNIBYTE=1
EMACS="emacs --no-site"
emacs_ver=$(rpm -q --qf '%%{VERSION}' emacs)
rm -rf lisp/*.elc
%configure FLAGS="-batch -q -no-site-file -no-init-file -l \$(srcdir)/vm-build.el" --with-etcdir=%{_vmetcdir} --with-docdir=%{_vmdocdir}
make %{?_smp_mflags} DESTDIR=%{buildroot} MAKEINFO="makeinfo --force"
%install
mkdir -p %{buildroot}
%make_install
{
echo ";; %{_datadir}/emacs/site-lisp/suse-start-%{name}.el"
cat %{SOURCE2}
echo ";; %{_datadir}/emacs/site-lisp/suse-start-%{name}.el ends here"
} > %{buildroot}%{_sitedir}/suse-start-%{name}.el
%post
%install_info --info-dir=%{_infodir} %{_infodir}/vm.info%{ext_info}
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/vm.info%{ext_info}
%files
%docdir %{_vmdocdir}
%{_vmdocdir}
%dir %{_sitedir}
%{_sitedir}/*.el
%dir %{_vmdir}
%{_vmdir}/*.el
%{_vmdir}/*.elc
%{_vmdir}/version.txt
%{_bindir}/base64-encode
%{_bindir}/base64-decode
%{_bindir}/qp-decode
%{_bindir}/qp-encode
%{_infodir}/*%{ext_info}
%{_datadir}/emacs/*%{_sysconfdir}/vm/pixmaps
%dir %{_datadir}/emacs/*%{_sysconfdir}/vm
%exclude %{_datadir}/emacs/*%{_sysconfdir}/vm/README
%exclude %{_datadir}/emacs/*%{_sysconfdir}/vm/CHANGES
%exclude %{_datadir}/emacs/*%{_sysconfdir}/vm/COPYING
%exclude %{_datadir}/emacs/*%{_sysconfdir}/vm/NEWS
%exclude %{_datadir}/emacs/*%{_sysconfdir}/vm/TODO
%changelog

3
vm-8.2.0b.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6945821a521844a429ae3d0e25db69755185fa848343fdc3c754ab16344d2a12
size 839789