GNU bug report logs - #13831
24.3.50; [PATCH] net-utils-mode have no revert-buffer function

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Wed, 27 Feb 2013 09:33:02 UTC

Severity: wishlist

Tags: patch

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #79 received at 13831 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 13831 <at> debbugs.gnu.org
Subject: Re: bug#13831: 24.3.50;
	[PATCH] net-utils-mode have no revert-buffer function
Date: Wed, 13 Mar 2013 13:52:23 -0400
> I think actually it is not a problem loading ffap when needed:
> --8<---------------cut here---------------start------------->8---
>   (defun net-utils-machine-at-point ()
>     (require 'ffap)
>     (ffap-machine-at-point))
>   (defun net-utils-url-at-point ()
>     (require 'ffap)
>     (ffap-url-at-point))
> --8<---------------cut here---------------end--------------->8---
> This reduce code and do the right thing.

We can even (require 'ffap) at top-level.  It's not that big of a deal.

> I can send a patch if ok.

Please do,


        Stefan




This bug report was last modified 12 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.