From: Christophe Troestler <Christophe.Troestler@umons.ac.be>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: 34387@debbugs.gnu.org
Subject: bug#34387: 26.1; Gnus: handle empty message parts
Date: Thu, 14 Feb 2019 13:30:34 +0100 [thread overview]
Message-ID: <87h8d6o8lx.fsf@poincare.umons.ac.be> (raw)
In-Reply-To: <b4m1s4bnumj.fsf@jpl.org>
[-- Attachment #1: Type: text/plain, Size: 1375 bytes --]
On 14 February 2019 at 00:20 CET, Katsumi Yamaoka wrote:
>
> The point would be to delete only whitespace that mm-shr inserts.
> How about this?
>
> (defadvice mm-shr (around delete-leading-and-trailing-whitespace activate)
> "Delete leading and trailing whitespace in Gnus article buffer."
> (when (derived-mode-p 'gnus-article-mode)
> (save-restriction
> (narrow-to-region (point) (point))
> ad-do-it
> (goto-char (point-min))
> (skip-chars-forward "\t\n ")
> (delete-region (point-min) (point))
> (goto-char (point-max))
> (skip-chars-backward "\t\n ")
> (delete-region (point) (point-max))
> (insert "\n"))))
The point is to delete all trailing whitespace coming from the conversion of HTML to text. Without this, some emails (such as the one attached) are hard to read because the lines end with so many whitespaces that they take several lines on the screen (filled with spaces). The following does what I want (and does not trigger the bug, thanks to the narrowing).
(define-advice mm-shr (:around (oldfn &rest handle) delete-trailing-whitespace)
"Delete leading and trailing whitespace in Gnus article buffer."
(when (derived-mode-p 'gnus-article-mode)
(save-restriction
(narrow-to-region (point) (point))
(apply oldfn handle)
(delete-trailing-whitespace))))
Thanks,
C.
[-- Attachment #2: Numerical Algorithms, Vol. 80, Issue 2 - New Issue Alert --]
[-- Type: message/rfc822, Size: 152835 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 9448 bytes --]
---------------
New Issue Alert
---------------
Dear Ch. TROESTLER,
We are pleased to deliver your requested table of contents alert
for "Numerical Algorithms".
Volume 80 Number 2 is now available on SpringerLink
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI0
=================================================================
Celebrate 2019 Chinese New Year with Springer!
Read 2017 & 2018 top download books with open chapters.
Download Highly Cited Papers, top 1% cited in the field, free online until 28 Feb.
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI1
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI2
-------------------------------------------------
Springer Nature Transfer Desk
Imagine a world where you only have to submit your article once. With our Transfer Desk, we’re working toward making that a reality. Learn more here:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI3
=================================================================
IN THIS ISSUE:
>>>Original Paper<<<
>>>Improved optimization methods for image registration problems<<<
Ke Chen, Geovani Nunes Grapiglia, Jinyun Yuan
&
Daoping Zhang
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI4
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI5
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>Efficient parameterized rotated shift-splitting preconditioner for a class of complex symmetric linear systems<<<
Cheng-Liang Li
&
Chang-Feng Ma
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI6
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI7
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>Modified Newton-MDPMHSS method for solving nonlinear systems with block two-by-two complex symmetric Jacobian matrices<<<
Min-Hong Chen
&
Qing-Biao Wu
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI8
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI9
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>Picard iteration-based variable-order integrator with dense output employing algorithmic differentiation<<<
Herman D. Schaumburg, Afnan Al Marzouk
&
Bela Erdelyi
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIa
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIb
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>An infeasible bundle method for nonconvex constrained optimization with application to semi-infinite programming problems<<<
Jian Lv, Li-Ping Pang, Na Xu
&
Ze-Hao Xiao
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIc
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pId
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>A two-grid parallel partition of unity finite element scheme<<<
Guangzhi Du
&
Liyun Zuo
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIe
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIf
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>Parallel computing investigations for the projection method applied to the interface transport scheme of a two-phase flow by the method of characteristics<<<
Mireille Haddad, Frédéric Hecht, Toni Sayah
&
Pierre Henri Tournier
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIg
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIh
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>Convergence of discrete time waveform relaxation methods<<<
Zhencheng Fan
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIi
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIj
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>Modified PHSS iterative methods for solving nonsingular and singular saddle point problems<<<
Zheng-Ge Huang, Li-Gong Wang, Zhong Xu
&
Jing-Jing Cui
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIk
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIl
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>On the asymptotic optimality of error bounds for some linear complementarity problems<<<
M. García-Esnaola
&
J. M. Peña
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIm
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIn
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>Some second-order 𝜃 schemes combined with finite element method for nonlinear fractional cable equation<<<
Yang Liu, Yanwei Du, Hong Li, Fawang Liu
&
Yajun Wang
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIo
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIp
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>A new family of three-stage two-step P-stable multiderivative methods with vanished phase-lag and some of its derivatives for the numerical solution of radial Schrödinger equation and IVPs with oscillating solutions<<<
Ali Shokri, Mohammad Mehdizadeh Khalsaraei, Mortaza Tahmourasi
&
Raquel Garcia-Rubio
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIq
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIr
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>A modified Newton iteration for finding nonnegative Z-eigenpairs of a nonnegative tensor<<<
Chun-Hua Guo, Wen-Wei Lin
&
Ching-Sung Liu
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIs
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIt
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>Selective projection methods for solving a class of variational inequalities<<<
Songnian He
&
Hanlin Tian
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIu
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIv
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>Look-ahead in the two-sided reduction to compact band forms for symmetric eigenvalue problems and the SVD<<<
Rafael Rodríguez-Sánchez, Sandra Catalán, José R. Herrero, Enrique S. Quintana-Ortí
&
Andrés E. Tomás
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIw
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIx
- - - - - - - - - - - - - - - - - - - - - - - - -
>>>Original Paper<<<
>>>Truncation dimension for linear problems on multivariate function spaces<<<
Aicke Hinrichs, Peter Kritzer, Friedrich Pillichshammer
&
G. W. Wasilkowski
Abstract:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIy
Full text PDF:
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pIz
________________________________________________________________________
Do you want to publish your article in this journal?
Please visit the homepage of Numerical Algorithms
http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI10
for full details on:
- aims and scope
- editorial policy
- article submission
________________________________________________________________________
Read open access articles
Anyone can access open access articles for free.
Go to http://alerts.springer.com/re?l=D0In6c9xhI6htpi7pI11
to view all open access articles published in this journal.
-------------------------------------------------
This email has been sent to christophe.troestler@umons.ac.be
You are receiving this email because you have opted to receive information
from SpringerAlerts as a registered user of our Table of Content Alert for
journals.
To modify your subscription (including change of email address etc.) please
go to springer.com/alertprofile and log in with user name and password. If
you do not remember either of them, write to customerservice@springer.com .
To unsubscribe from this specific table of contents alert, please go to:
http://www.springer.com/tocUnsubscribe.jsp?email=christophe.troestler@umons.ac.be&journal=11075&checkval=e4d431413ef909919d45c3cbbe2c38d9
To unsubscribe from ALL table of contents alerts, please go to:
http://www.springer.com/tocUnsubscribe.jsp?email=christophe.troestler@umons.ac.be&checkval=2349bf1015e850b88cc67a4ab7abd25c
For all enquiries, problems or suggestions regarding this service, please
contact customerservice@springer.com .
Springer's New Book Alert is the best way to keep up to date with new
developments in your field.
Sign-up today for notification on new books and related information in
your subject areas: springer.com/springeralerts/nba
Springer respects your privacy and does not disclose, sell or rent your
personal information to any nonaffiliated third parties without your consent.
Please visit the Springer Privacy Statement .
To ensure the delivery to your inbox, please add the sender address
springer@alerts.springer.com to your allow list.
Springer-Verlag GmbH Heidelberg, Tiergartenstrasse 17, 69121 Heidelberg,
Germany, phone: +49 6221 487 0, fax: +49 6221 487 8366
[-- Attachment #2.1.2.1: Type: text/html, Size: 45828 bytes --]
[-- Attachment #2.1.2.2: cda_displayimage.jpg --]
[-- Type: image/png, Size: 6205 bytes --]
[-- Attachment #2.1.2.3: 2.jpg --]
[-- Type: image/jpeg, Size: 22883 bytes --]
[-- Attachment #2.1.2.4: cda_displayimage.jpg --]
[-- Type: image/jpeg, Size: 33899 bytes --]
next prev parent reply other threads:[~2019-02-14 12:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-08 14:58 bug#34387: 26.1; Gnus: handle empty message parts Christophe Troestler
[not found] ` <handler.34387.B.154963794230369.ack@debbugs.gnu.org>
2019-02-08 15:39 ` bug#34387: Acknowledgement (26.1; Gnus: handle empty message parts) Christophe Troestler
2019-02-12 4:34 ` bug#34387: 26.1; Gnus: handle empty message parts Katsumi Yamaoka
2019-02-12 7:31 ` Christophe Troestler
2019-02-13 4:53 ` Katsumi Yamaoka
2019-02-13 17:26 ` Christophe Troestler
2019-02-13 23:20 ` Katsumi Yamaoka
2019-02-14 2:16 ` Katsumi Yamaoka
2019-02-14 12:30 ` Christophe Troestler [this message]
2019-02-14 22:50 ` Katsumi Yamaoka
2019-02-15 8:28 ` Christophe Troestler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8d6o8lx.fsf@poincare.umons.ac.be \
--to=christophe.troestler@umons.ac.be \
--cc=34387@debbugs.gnu.org \
--cc=yamaoka@jpl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.