From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65481: Replace defadvice with advice-add in Tramp manual Date: Wed, 6 Sep 2023 02:39:18 -0700 Message-ID: References: <87msygdgsh.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15055"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65481@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 06 11:40:17 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qdp1F-0003m1-1y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Sep 2023 11:40:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdp14-00024E-BC; Wed, 06 Sep 2023 05:40:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdp10-00023T-6f for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 05:40:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdp0z-00025X-O8 for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 05:40:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdp10-0001Cy-EZ for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 05:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Sep 2023 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65481 X-GNU-PR-Package: emacs Original-Received: via spool by 65481-submit@debbugs.gnu.org id=B65481.16939931704600 (code B ref 65481); Wed, 06 Sep 2023 09:40:02 +0000 Original-Received: (at 65481) by debbugs.gnu.org; 6 Sep 2023 09:39:30 +0000 Original-Received: from localhost ([127.0.0.1]:32968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdp0U-0001C7-0z for submit@debbugs.gnu.org; Wed, 06 Sep 2023 05:39:30 -0400 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:61808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdp0Q-0001Bp-8Z for 65481@debbugs.gnu.org; Wed, 06 Sep 2023 05:39:28 -0400 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-5007616b756so5905129e87.3 for <65481@debbugs.gnu.org>; Wed, 06 Sep 2023 02:39:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693993159; x=1694597959; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=n6dmHniASScFKQMZ4glq2fXpFC+oiA4o920OaPkH9FE=; b=fIycThECpNkv1WMaUUtwjNzLAu5dbzaR0l5BgYX15ESLMU7wz4XF9V09gV08x1hECJ ehDVnwMmYDLMGF6T7O40zP+yxSzMC358pZO8x45uIZ4YH6HQ3ohicJQb5/e0IBYdjVAa nC4CrblZnVVL/4VrdrEwUV0guq7JRT79LD941la44we6kreeFP11trFqsU8nfdqmJT5Q K1ULNbXiRpW7pA9T/XYUDD/D2zg0NLefHF0QiSDbSckfFjmDDyUn2KjemcOlYDm0wfYX bXJ9Nq+t2CaD6O4p788LlN+bSn7JUNI0ABeWHXg1pV+tqoCsxulPIvlB+n0Xt5tEvPze vfhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693993159; x=1694597959; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=n6dmHniASScFKQMZ4glq2fXpFC+oiA4o920OaPkH9FE=; b=kXXyHJdiObe7inEiJo08qXXCNcJdaUPtD1ijevx8bvYnQVrkVDr1zsqVlAlk8TJrHx JL67kTGRne/fobomRFq5nvxwt9HcJN12hOw7Jle/zyFKk+RnsZ/XwLtv4B2T8tuI8Lmd 2IR5EBuQ9vkSQAuJpIm5EkQLpaaxnOP7zVPOKLOEVwo+TLNBTeew6AN/RU6aRI21NE2P 7zhRn3ID/Ue04REAjf4s7lFpoM4izIDkGNKrBJOyvgycdOTS3cmYmG98Pb2Awv8XPMQI TVhPPT67ApGca4xW3+VBnB4DB9oZTWmfWrTQ0BzElDbOu+Q6dG4j0l/7T0FtKdicHVAZ BiBg== X-Gm-Message-State: AOJu0Yw9epTWt4MyRCkI4a5PkhUmCj4vF2aDQkqsviIEx9O3qjifeGzN JSNumWC+AmvFX4zpbC4yVbBqrnEfEzkw/U+axw12ouwFNpA= X-Google-Smtp-Source: AGHT+IEY6JgKer/hd7/Vepo6VwtBYktx2RWacho9Ecj7Bgm6sScI8OTo2RrpGzpIduZqi9HM823LgWe/yTfgGKhExQQ= X-Received: by 2002:a05:6512:3e0f:b0:500:7a23:720b with SMTP id i15-20020a0565123e0f00b005007a23720bmr2247966lfv.55.1693993159093; Wed, 06 Sep 2023 02:39:19 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 6 Sep 2023 02:39:18 -0700 In-Reply-To: <87msygdgsh.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269499 Archived-At: Michael Albinus writes: >> The Tramp manual recommends `defadvice', but it is now obsolete >> (commit 27ed565ec6). How about changing the below examples to use >> `advice-add' instead? >> >> ./misc/tramp.texi:5257:(defadvice tramp-handle-write-region >> ./misc/tramp.texi:5265:(defadvice tramp-handle-do-copy-or-rename-file >> ./misc/tramp.texi:5273:(defadvice tramp-handle-insert-file-contents >> ./misc/tramp.texi:5531:(defadvice minibuffer-complete > > Yes, pls do. I was hoping someone more familiar with Tramp could do it, wink wink.