From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AFABA138A1A for ; Fri, 23 Jan 2015 20:40:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C683E084B; Fri, 23 Jan 2015 20:40:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C56CE083B for ; Fri, 23 Jan 2015 20:40:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4BD4B3406D0 for ; Fri, 23 Jan 2015 20:40:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0868F1037E for ; Fri, 23 Jan 2015 20:40:31 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1421998015.7f10f7bade537956fda28461a0cf36aa63282ce4.ulm@gentoo> Subject: [gentoo-commits] proj/emacs-tools:patchsets commit in: emacs/24.4/ X-VCS-Repository: proj/emacs-tools X-VCS-Files: emacs/24.4/03_all_gnus-image.patch X-VCS-Directories: emacs/24.4/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 7f10f7bade537956fda28461a0cf36aa63282ce4 X-VCS-Branch: patchsets Date: Fri, 23 Jan 2015 20:40:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 23590a88-68fa-466b-8e5c-bdc0f1bb6129 X-Archives-Hash: 02429e40b1a7dc124a51a6abc1ea0ddc commit: 7f10f7bade537956fda28461a0cf36aa63282ce4 Author: Ulrich Müller gentoo org> AuthorDate: Fri Jan 23 07:26:55 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Jan 23 07:26:55 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=7f10f7ba Don't shadow load-path in gnus, bug 537156. --- emacs/24.4/03_all_gnus-image.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/emacs/24.4/03_all_gnus-image.patch b/emacs/24.4/03_all_gnus-image.patch new file mode 100644 index 0000000..cb46e3b --- /dev/null +++ b/emacs/24.4/03_all_gnus-image.patch @@ -0,0 +1,25 @@ +https://bugs.gentoo.org/537156 +http://debbugs.gnu.org/18813 + +commit 7515423bc1935efeb43a85097e00f8758a7cc394 +Author: Katsumi Yamaoka +Date: Mon Oct 27 22:51:18 2014 +0000 + + [Backport] gnus.el (gnus-mode-line-buffer-identification): + Don't add image data for a non-graphic display; + Don't shadow load-path, it blocks autoloading of find-image (bug#18813) + +--- emacs-24.4-orig/lisp/gnus/gnus.el ++++ emacs-24.4/lisp/gnus/gnus.el +@@ -328,8 +328,9 @@ + (if (fboundp 'find-image) + (defun gnus-mode-line-buffer-identification (line) + (let ((str (car-safe line)) +- (load-path (mm-image-load-path))) +- (if (and (stringp str) ++ (load-path (append (mm-image-load-path) load-path))) ++ (if (and (display-graphic-p) ++ (stringp str) + (string-match "^Gnus:" str)) + (progn (add-text-properties + 0 5