From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Error when editing C code Date: Wed, 15 Jun 2022 12:59:39 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18965"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 15 22:11:27 2022 Return-path: Envelope-to: ged-emacs-devel@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 1o1ZMM-0004nf-8x for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Jun 2022 22:11:26 +0200 Original-Received: from localhost ([::1]:51476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1ZML-0002Mh-1z for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Jun 2022 16:11:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1ZB7-0006R7-Q6 for emacs-devel@gnu.org; Wed, 15 Jun 2022 15:59:50 -0400 Original-Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:37654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1ZB4-0004lO-6i for emacs-devel@gnu.org; Wed, 15 Jun 2022 15:59:49 -0400 Original-Received: by mail-pl1-x636.google.com with SMTP id t2so11304613pld.4 for ; Wed, 15 Jun 2022 12:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:from:to:subject:mime-version :content-transfer-encoding; bh=IDLQGd2NEp+Kur3P+1KXy/620JuqMvBokdDr/htGSRc=; b=op53Q/9LF78/fL474YYr72C1mHJg32sJvg1gL2owInCjrZQGEA8kAhJakAAwRduXOh WijLmU0AB6gx5V3OmpqZONyGEFz3MJ6/Jt6W8YhalBwIMwNbzfyu9AeKHtSAG3rTM8Uj X88op9neSEB7pr8RRJVNG72zg3qg05McMj1cLEQEfRYeXSiYdotEhxZvIK6lsvM+Eomk wLbt0WKibD/8NxuVsm0D0zD7qJrrY32TJ6xH5s/xp8rK/OTeCdoyf1ek0Kg9kdWnI6Yj POtnOmiWEprIi7PWpRGLdO8C2zxnN/1MXlsFsip4ZPmQRkO1wA59tQlRNenzVpBDVNnZ MhQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:from:to:subject:mime-version :content-transfer-encoding; bh=IDLQGd2NEp+Kur3P+1KXy/620JuqMvBokdDr/htGSRc=; b=vBIDAKBv6+VWRY+lCuwMrsbTA/mtdBxZDGQOWNE6Q7t6w9cIQtlbE9FFfnVn/8MCgo J4wCOhQ3TNyrSowav0WbgJfw8eRVmRWvZj+jqaIHIA2Q+hQrtkGXgw6HzMZnA3aEbmVT ZSoZ2vlCGH9n8+gPBAlCHWkby3EUlwlHdUT6KQvEP8FspKq6Wq+Gb3kov/z2y9WekFNO d3XuYI7HjCOCPlrhJ5hS3vYA17ER9LvprZbPSwRV0u21cJU8nzrubXeCDZzj0KBHiJ6H 4Cmf5YmtbK340Ce1OuCIgv/MVv67mMtUlPfAVgumhyxyDoOBt0dk5pIGeB/CHvFqUnS/ ULcA== X-Gm-Message-State: AJIora87tb+J9Yk/SFCRIN8u2rtSz6OZ8muMhIgAibWAFxECUJA9M+4+ 2HagRAItvTMjgIXO0rIWpKcjqnquTqfRaiEm X-Google-Smtp-Source: AGRyM1scbqFyUfHhXC1lMSXJP9G+eQcD8ZoAnc11yrfL1/c107zuv/VLkjkw8jpgwKJrwepRFI7wDg== X-Received: by 2002:a17:902:ba86:b0:167:7ee0:7ab9 with SMTP id k6-20020a170902ba8600b001677ee07ab9mr1436276pls.24.1655323182423; Wed, 15 Jun 2022 12:59:42 -0700 (PDT) Original-Received: from raman9 (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id cp5-20020a170902e78500b0016401043dfasm21023plb.91.2022.06.15.12.59.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 12:59:41 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=raman@google.com; helo=mail-pl1-x636.google.com X-Spam_score_int: -151 X-Spam_score: -15.2 X-Spam_bar: --------------- X-Spam_report: (-15.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291221 Archived-At: Appears to be due to incorrect loading of macros in cc-mode. If I try editing a c/c++ file, I get this backtrace. This emacs from Git @HEAD, I even did a make distclean followed by a rebuild but the error persists. Debugger entered--Lisp error: (void-function c-with-string-fences) (c-with-string-fences nil nil nil nil t nil nil t (c-depropertize-new-tex= t c-after-change-escape-NL-in-string c-after-change-unmark-ml-strings c-par= se-quotes-after-change c-after-change-mark-abnormal-strings c-extend-font-l= ock-region-for-macros c-neutralize-syntax-in-CPP c-restore-<>-properties c-= change-expand-fl-region)) (c-after-change 2617 2617 6) (delete-and-extract-region 2617 2623) (#f(compiled-function (beg end delete) #) 261= 7 2623 delete) (apply #f(compiled-function (beg end delete) #) (2617 2623 delete)) (#f(compiled-function (funs global args) #) n= il nil (2617 2623 delete)) (buffer-substring--filter 2617 2623 delete) (filter-buffer-substring 2617 2623 delete) (#f(compiled-function (beg end &optional region) "Kill (\"cut\") text bet= ween point and mark.\nThis deletes the text from the buffer and saves it in= the kill ring.\nThe command \\[yank] can retrieve it from there.\n(If you = want to save the region without killing it, use \\[kill-ring-save].)\n\nIf = you want to append the killed region to the last killed text,\nuse \\[appen= d-next-kill] before \\[kill-region].\n\nAny command that calls this functio= n is a \"kill command\".\nIf the previous command was also a kill command,\= nthe text killed this time appends to the text killed last time\nto make on= e entry in the kill ring.\n\nThe killed text is filtered by `filter-buffer-= substring' before it is\nsaved in the kill ring, so the actual saved text m= ight be different\nfrom what was killed.\n\nIf the buffer is read-only, Ema= cs will beep and refrain from deleting\nthe text, but put the text in the k= ill ring anyway. This means that\nyou can use the killing commands to copy= text from a read-only buffer.\n\nLisp programs should use this function fo= r killing text.\n (To delete text, use `delete-region'.)\nSupply two argume= nts, character positions BEG and END indicating the\n stretch of text to be= killed. If the optional argument REGION is\n non-nil, the function ignore= s BEG and END, and kills the current\n region instead. Interactively, REGI= ON is always non-nil, and so\n this command always kills the current region= ." (interactive #f(compiled-function () #)) #= ) 2617 2623 nil) (ad-Advice-kill-region #f(compiled-function (beg end &optional region) "K= ill (\"cut\") text between point and mark.\nThis deletes the text from the = buffer and saves it in the kill ring.\nThe command \\[yank] can retrieve it= from there.\n(If you want to save the region without killing it, use \\[ki= ll-ring-save].)\n\nIf you want to append the killed region to the last kill= ed text,\nuse \\[append-next-kill] before \\[kill-region].\n\nAny command t= hat calls this function is a \"kill command\".\nIf the previous command was= also a kill command,\nthe text killed this time appends to the text killed= last time\nto make one entry in the kill ring.\n\nThe killed text is filte= red by `filter-buffer-substring' before it is\nsaved in the kill ring, so t= he actual saved text might be different\nfrom what was killed.\n\nIf the bu= ffer is read-only, Emacs will beep and refrain from deleting\nthe text, but= put the text in the kill ring anyway. This means that\nyou can use the ki= lling commands to copy text from a read-only buffer.\n\nLisp programs shoul= d use this function for killing text.\n (To delete text, use `delete-region= '.)\nSupply two arguments, character positions BEG and END indicating the\n= stretch of text to be killed. If the optional argument REGION is\n non-ni= l, the function ignores BEG and END, and kills the current\n region instead= . Interactively, REGION is always non-nil, and so\n this command always ki= lls the current region." (interactive #f(compiled-function () #)) #) 2617 2623) (apply ad-Advice-kill-region #f(compiled-function (beg end &optional regi= on) "Kill (\"cut\") text between point and mark.\nThis deletes the text fro= m the buffer and saves it in the kill ring.\nThe command \\[yank] can retri= eve it from there.\n(If you want to save the region without killing it, use= \\[kill-ring-save].)\n\nIf you want to append the killed region to the las= t killed text,\nuse \\[append-next-kill] before \\[kill-region].\n\nAny com= mand that calls this function is a \"kill command\".\nIf the previous comma= nd was also a kill command,\nthe text killed this time appends to the text = killed last time\nto make one entry in the kill ring.\n\nThe killed text is= filtered by `filter-buffer-substring' before it is\nsaved in the kill ring= , so the actual saved text might be different\nfrom what was killed.\n\nIf = the buffer is read-only, Emacs will beep and refrain from deleting\nthe tex= t, but put the text in the kill ring anyway. This means that\nyou can use = the killing commands to copy text from a read-only buffer.\n\nLisp programs= should use this function for killing text.\n (To delete text, use `delete-= region'.)\nSupply two arguments, character positions BEG and END indicating= the\n stretch of text to be killed. If the optional argument REGION is\n = non-nil, the function ignores BEG and END, and kills the current\n region i= nstead. Interactively, REGION is always non-nil, and so\n this command alw= ays kills the current region." (interactive #f(compiled-function () #)) #) (2617 2623)) (kill-region 2617 2623) (#f(compiled-function (arg) "Kill characters forward until encountering t= he end of a word.\nWith argument ARG, do this that many times." (interactiv= e "p") #) 1) (ad-Advice-kill-word #f(compiled-function (arg) "Kill characters forward = until encountering the end of a word.\nWith argument ARG, do this that many= times." (interactive "p") #) 1) (apply ad-Advice-kill-word #f(compiled-function (arg) "Kill characters fo= rward until encountering the end of a word.\nWith argument ARG, do this tha= t many times." (interactive "p") #) 1) (kill-word 1) (# kill-word 1) (apply # kill-word 1) (ad-Advice-funcall-interactively # kill-word = 1) (apply ad-Advice-funcall-interactively # (kil= l-word 1)) (funcall-interactively kill-word 1) (# kill-word nil nil) (apply # kill-word (nil nil)) (call-interactively@ido-cr+-record-current-command # kill-word nil nil) (apply call-interactively@ido-cr+-record-current-command # (kill-word nil nil)) (call-interactively kill-word nil nil) (command-execute kill-word) --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8 -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮