[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61268: 30.0.50; [PATCH] Deprecate called-interactively-p
From: |
Eli Zaretskii |
Subject: |
bug#61268: 30.0.50; [PATCH] Deprecate called-interactively-p |
Date: |
Sun, 05 Feb 2023 11:18:17 +0200 |
> Cc: luangruo@yahoo.com
> From: dick <dick.r.chiang@gmail.com>
> Date: Sat, 04 Feb 2023 14:03:21 -0500
>
> 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 = "";
> }'
Is this a bug report? If so, what is the bug, and how to reproduce
it?