From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alessandro Bertulli Newsgroups: gmane.emacs.help Subject: Re: PGTK+ warning Date: Tue, 15 Nov 2022 19:05:31 +0100 Message-ID: <87cz9ow0n1.fsf@gmail.com> References: <87tu308r0y.fsf@gmail.com> <87iljg6y5o.fsf@gmail.com> <87fsekw7rc.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25262"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.9; emacs 29.0.50 Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 15 19:09:52 2022 Return-path: Envelope-to: geh-help-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 1ov0Na-0006Jd-RK for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 15 Nov 2022 19:09:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ov0N1-0007yU-MN; Tue, 15 Nov 2022 13:09:15 -0500 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 1ov0N0-0007y9-JF for help-gnu-emacs@gnu.org; Tue, 15 Nov 2022 13:09:14 -0500 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ov0Mw-0000PL-UK for help-gnu-emacs@gnu.org; Tue, 15 Nov 2022 13:09:13 -0500 Original-Received: by mail-ej1-x629.google.com with SMTP id y14so38098274ejd.9 for ; Tue, 15 Nov 2022 10:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=uFl/fkO0FMPzeh0q6g4rWTPaErFNfxJyPwBkR6gN2zU=; b=lBhny7DEPQ8p0LNf/UtjDKzmF0ZJncFymsekhSLTsPTqs1mAa3XO/AoAAFiWdfz37c V+9NFOE1K5uQTI9Pr9m8Knaynu5RxA0emdHfet1ui433G0K2uVmGFeiPyC2/IgTEwXwD k2TH72LoHwsOXQGU5/BE9SgTrgs4j9vIQo+1gPyT7YVNHl9/EjiKAcMfwLiQdZKn9zcn TzhNUTbZiZNtwCnhfplU1pLqdAovWsnRv9tKEMbjJAH7YYaZ1KGzVSQSlowQL45S7wfR fhD4XHbfcFxm1d6FtHVeEFCMgVaPjCSGh1KFAjTD9aTfr0IZPoYxoUeR9LVyaAn/kRmB SCgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uFl/fkO0FMPzeh0q6g4rWTPaErFNfxJyPwBkR6gN2zU=; b=Z+zHXlcGzmtRpsxIqp8fTPXa0vlj7luYAZBaksYHr1ASBawqRtxPj6w0lzVVV6cEKr bBNT5GQ9UfiKMKvKglnDIygb7zQZk+w/GGLt+wEuBlJ8pKHCZmAoWg/rhbgwrYtcgsaS 8P5HV6heGoC4ppFCHipEXbMxVv3sbmv95fgIjj2jU8Dlafwuov+Fs8OAoeloefR6oPzi Cc1ZMFtJfjlDSZWjRLtEnPv6v/Wv3AIqHmCc2HOD5GOX4olax0RAeIttJwVnvMX57TA/ x23Xp9qTc5WFv6Wm1Ytuo5TCgwNBj4+0DrmNapU8DxWGz+yHuMoG00r/9+H3svTMDYcn 0FJA== X-Gm-Message-State: ANoB5plRm/dAqjHHXb9zmO7MmyuiZcY4+en93oB6PzWTglAjqSur/RYW WDFiuz0hWrYk1tGtxhTHlI3gwvndww8= X-Google-Smtp-Source: AA0mqf7RQNu93hXge/X82IvQ5cJFyNkzoTlI2eG2qFFM1k9Ef9K5hWxewoIHkBKOEvrOwnlI77wuAw== X-Received: by 2002:a17:906:61b:b0:7ae:3684:84b0 with SMTP id s27-20020a170906061b00b007ae368484b0mr14532266ejb.622.1668535748802; Tue, 15 Nov 2022 10:09:08 -0800 (PST) Original-Received: from commodoroII (93-35-243-128.ip57.fastwebnet.it. [93.35.243.128]) by smtp.gmail.com with ESMTPSA id es21-20020a056402381500b0045ce419ecffsm6500361edb.58.2022.11.15.10.09.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 10:09:08 -0800 (PST) In-reply-to: <87fsekw7rc.fsf@dataswamp.org> Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=alessandro.bertulli96@gmail.com; helo=mail-ej1-x629.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140983 Archived-At: Emanuel Berg writes: > ;; (setq text-mode-hook nil) > > (defun text-mode-hook-f () > (abbrev-mode) > (define-key text-mode-map "\C-c\C-c" #'compile) ) > > (add-hook 'text-mode-hook #'text-mode-hook-f) Correct, but that doesn't account for functions possibly added by other packages. Anyway, now you make me think that this should never happen, so my concern is probably futile. Thanks for the suggestion! Moreover, correct me, but uncommenting also the first line makes the init file idempotent, right? -- Alessandro Bertulli