GNU bug report logs - #70806
[PATCH] Add rename-file-and-open function

Previous Next

Package: emacs;

Reported by: Charalampos Mitrodimas <charmitro <at> posteo.net>

Date: Mon, 6 May 2024 18:45:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Charalampos Mitrodimas <charmitro <at> posteo.net>
To: 70806 <at> debbugs.gnu.org
Subject: bug#70806: [PATCH] Add rename-file-and-open function
Date: Mon, 06 May 2024 18:43:40 +0000
[Message part 1 (text/plain, inline)]
Tags: patch

Hi,

The new function is similar to "rename-file", but it automatically opens
the file once it's renamed (or throws a relevant error).

I'm not sure if this addition is necessary, but I've had it for so many
years that I thought it might be useful to have it in Emacs by
default. I'm also not sure if it's in the correct position within
lisp/files.el. In any case, I'm submitting this patch for consideration.

--
C. Mitrodimas


In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.38, cairo version 1.16.0) of 2024-05-06 built on
 Debian-bookworm-latest-amd64-base
Repository revision: 71395b7888f4d7b64be36a8cedb5b2b8c4819259
Repository branch: master
System Description: Debian GNU/Linux 12 (bookworm)

Configured using:
 'configure --with-native-compilation'

[0001-Add-rename-file-and-open-function.patch (text/patch, attachment)]

This bug report was last modified 1 year and 54 days ago.

Previous Next


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