From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John W Higgins Newsgroups: gmane.emacs.help Subject: Re: Custom for quit-window? Date: Fri, 7 Jan 2022 10:20:19 -0800 Message-ID: References: <20220107180521.7zgkfxro7c7tkdi7.ref@Ergus> <20220107180521.7zgkfxro7c7tkdi7@Ergus> 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="18500"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 07 19:22:19 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 1n5tsZ-0004dw-Dz for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 07 Jan 2022 19:22:19 +0100 Original-Received: from localhost ([::1]:46040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5tsX-0001V2-Nr for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 07 Jan 2022 13:22:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5trV-0001Ui-G7 for help-gnu-emacs@gnu.org; Fri, 07 Jan 2022 13:21:13 -0500 Original-Received: from [2607:f8b0:4864:20::b35] (port=36621 helo=mail-yb1-xb35.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5trQ-0000hA-FI for help-gnu-emacs@gnu.org; Fri, 07 Jan 2022 13:21:13 -0500 Original-Received: by mail-yb1-xb35.google.com with SMTP id c6so17033471ybk.3 for ; Fri, 07 Jan 2022 10:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ek12cULGK2mfNE+XpOdr70JYHE0YtH64k8Bc0zj+Ubg=; b=AzO7QJpQNFf82cYsYDzPy/qYUWYFG4vxcwQVPBzziBZMiUyi+K40GbG5kAxTB6TP3D vcTbf+NxmorZBdNzOSRv8gkJnZX/ZhFnWqwDLXeh260h5Ruz35mZCOKeXBhPevPlhYha t7hfjpwxqyORw9UyxHRxItAPC6MkUvY2ZgCi7R8Z+8NhoGf1M6IvJX9xz24ac1JdKzve WYe6WObA8RyQeDsCbl2MfuiCaHzMMWahqcQL8JB1RIF6izNqunnbJUta2kpelCz1VQpm kNInMi/xYmfEj3VqOIEOb3YblXsT9nmskXk44aaLG4S6htlio324IU7z4mnj+BntEM0r wj3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ek12cULGK2mfNE+XpOdr70JYHE0YtH64k8Bc0zj+Ubg=; b=yWlfNF/MPLHZKs3pV1RVT5ZmUy6lkjYxjba3A3UHsokXKuEZhI71CSGu0c3ms7eK9R UnPhui0LfEz9wlkna+PbwlI4x7GRRBphkr3kuHswKhR+ytPAOuaMH6HEiGfImNukml19 PaYDnUsq+v3KUxzWx1yAYBF2GWhVf/L0Zb5mZoUC3MST9sSZT2gvkixGpqlwAXMV5dJu kkDJYd3MFXlwZyxUrcZlNopAznZE0oDzi6A8EsJdVeq695x3UcUmocNKqMVKX6uIMlVo l8S2MUNCySg1avHrqUHilF6rGQNyhR6ndnx7kOmJy8xPgD9prMs8M9dNKB4I4b5xPunX SFIQ== X-Gm-Message-State: AOAM532Ebm7chWfiwAwd7ECmVOhk7xIqcQppR2z2qzzcEsXdSo6Xk5ef XOB1SUPiDWbvD4CsGvBs8XP35SXbyoJpRR9GI+3Em5cSEFY= X-Google-Smtp-Source: ABdhPJy7uXlGbEBIy8yhvVcQtpnaUppG1RpbmQbnrjKJXYmJiOzDpG2bIwmswz8Eh3yDwHa/+PP2Sy+aJhK4zkJdLFE= X-Received: by 2002:a25:b007:: with SMTP id q7mr37589793ybf.27.1641579630102; Fri, 07 Jan 2022 10:20:30 -0800 (PST) In-Reply-To: <20220107180521.7zgkfxro7c7tkdi7@Ergus> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b35 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b35; envelope-from=wishdev@gmail.com; helo=mail-yb1-xb35.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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" Xref: news.gmane.io gmane.emacs.help:135126 Archived-At: Good Morning, On Fri, Jan 7, 2022 at 10:07 AM Ergus wrote: > Hi: > > Is it there a "simple method" to make quit-window to kill the buffer > without needing a prefix? > I'm not sure I fully understand your situation - but I have this (global-set-key (kbd "") 'kill-current-buffer) in my config - I just hit F9 to kill a buffer and clean up my work area. Obviously you could pick another key. My apologies if I completely misunderstood your need here. John