[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61268: 30.0.50; [PATCH] Deprecate called-interactively-p
From: |
dick |
Subject: |
bug#61268: 30.0.50; [PATCH] Deprecate called-interactively-p |
Date: |
Sat, 04 Feb 2023 14:03:21 -0500 |
User-agent: |
Gnus/5.14 (Gnus v5.14) |
For an individual notorious for mangling interfaces
(window-text-pixel-size, set-window-vscroll), why continue
to support a method that *reduces* such mangling?
git log -p --since="2021-10-01" --author luangruo -- | perl -ne 'chomp; $line =
$_;
if ($line =~ /^[ -]((DEFUN\s\()|[a-z]\S+\s\()/) {
$prim = 1 if $2;
$new = "";
substr($line,0,1) = "-";
$old = "$line\n";
} elsif ($old && $line =~ /^[-]/) {
$old .= "$line\n" if $line =~ /[(),]/;
} elsif ($old && $line =~ /^\+/) {
$new .= "$line\n" if $line =~ /[(),]/;
if (!$prim && $new =~ /\)\s*$/ ||
$prim && $new =~ /\d,\s*\d,\s*\d/) {
print $old;
print $new;
$prim = $old = $new = "";
}
} else {
$prim = $old = $new = "";
}'