From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Richard Subject: Re: renaming of ob-sh to ob-shell Date: Sat, 01 Feb 2014 17:12:08 +0100 Message-ID: <87y51u95if.fsf@yahoo.fr> References: <8738k39r03.fsf@yahoo.fr> <878utv8669.fsf@gmail.com> <874n4j81oa.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9dAw-0004GA-Qy for emacs-orgmode@gnu.org; Sat, 01 Feb 2014 11:12:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9dAp-0002fH-Gh for emacs-orgmode@gnu.org; Sat, 01 Feb 2014 11:12:10 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:40895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9dAp-0002fC-AU for emacs-orgmode@gnu.org; Sat, 01 Feb 2014 11:12:03 -0500 In-Reply-To: <874n4j81oa.fsf@gmail.com> (Thorsten Jolitz's message of "Sat, 01 Feb 2014 13:20:21 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Thorsten Jolitz writes: > I meant > > ,----------------- > | (provide 'ob-sh) > | (provide 'ob-shell) > `----------------- > > of course ... I guess that that would indeed avoid loading an older ob-sh.el. Perhaps together with something like (mapc (lambda (x) (when (member '(require . ob-sh) x) (warn "`ob-sh' was required by %s and is deprecated, please check" (car x)))) load-history) Result is a warning like this: Warning (emacs): `ob-sh' was required by /path/to/file.el and is deprecated, please check -- Nico.